I use GenMenuX from Andrew MacNeill, which allows for directives. These 
directives are
very similar to the old GenScrnX days. I use the *:IF directive when I need 
security calls
to the security manager object. Something like this in the menu option comment

*:IF goApp.oSecurity("menu option")


The big advantage of using this tool is the menu options are not grayed out, 
they never
appear on the menu and the user does not asked questions like: "why can't I get 
to this
menu option?"

You can get GenMenuX from Andrew's site: 
http://www.aksel.com/genmenux/default.htm

Full documentation included.

Rick
White Light Computing, Inc.

www.whitelightcomputing.com
www.rickschummer.com
586.254.2530 - office
586.254.2539 - fax 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Rafael Copquin
Sent: Wednesday, June 14, 2006 01:43 PM
To: [EMAIL PROTECTED]
Subject: custom menus

I am trying to develop a menu system geared to the user.

IOW, user A logs in and his/her particular menu appears, which is different 
from user B's
menu. This is related to permissions in the menu items. That is, for instance, 
if I have a
payroll function in the menu and want one user to have full access to all items 
in the
menu, while other users have limited access, I just want to develop special 
menus for
each.

My idea is to put all pads, popups and menu bars in a table and have another 
one with
users like this:


Menu prompt                                                     supervisor 
clerk A                 clerk B

Payroll                                                                   x 
x
   Employees                                                          x 
x
         Employee personal data                                 x 
x
         Employee salaries data                                  x
         etc


In the above example, the supervisor has full access while clerk A can only 
see all data except salaries and clerk B has no access to the payroll 
function at all.

Is there anything done along these lines, so I won't have to spend time 
"re-inventing the wheel" ?

Can you share ideas, or code or classes or whatever?

TIA


Rafael Copquin
www.copquin.com.ar
Universal Thread Magazine - Translation Coordinator
Treasurer - Microsoft Users Group of Argentina (MUG)
www.mug.org.ar



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to