PankX,
"skip for" method use usually,
to all see whole sw possibility,
as user may vary rights,
and skilling is sufficient once for all.
set sysmenu to mymenu1...2, or right mouse menu
in special cases
Tesar
Pram,
If there are a limited number of different user types, why not just create a separte menu for each one. Then just have your program use the appropriate one based on the user login.
The alternative is to create a menu with all the possible entries, and then after the login determines the user type, go through the menu and delete all the "wrong" entries for this user with the RELEASE BAR ... command. Remember that the menu is just another table and it is well documented.
Yesss !!! Finally i can make the menu like what i want. i use rele bar and rele pad statement.
Before activate the menu after define it, i check my right list, and release the pad and the bar. Then i activate the menu and the menu is customizing like i want to.
Thank's for you all !!!
New problem )),
i got a message program too large. it came from the menu. so i split the menu into 2's.
menu1 = menuA,menuB,NextMenu
for the nextmenu i set the procedures to do menu2.mpr
menu2 = PrevMenu,menuC,menuD
my question is, how to rele menu2 and back to menu1 if i press the PrevMenu ? (which command i must use for it ?)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.