Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What would this mean in the comment in the menu?
Message
 
 
To
14/07/2009 17:52:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01412354
Message ID:
01412364
Views:
59
>>Hi everybody,
>>
>>Do you know what could this mean in the menu / Options / Comment section?
>>
>>*:IF _SCREEN.oApp.RunAdminTool('SEC_MENU','M','46','1')
>>
>>Thanks in advance.
>
>Wow, I haven't seen that in a long time!
>
>This directive is inserted into the comment snippet of menu options that don’t already have a directive when you return to the Menu Builder from the FoxPro Menu Designer.
>
>Directive format: *:IF _SCREEN.oApp.RunAdminTool(‘SEC_MENU’,’M’, ‘ < Option # > ‘,’ < Menu # > ‘)
>
>‘SEC_MENU’ tells the routine that handles all Administrative Tools to run the routine that specifically handles security. The remaining parameters are used to find the corresponding security record so that the security routine can determine the user’s rights to access this particular menu option.
>
> ‘M’ identifies this as a Menu Security check.
>
> ‘ < Option # > ‘ is the unique (within this menu) option number that identifies this option. Prior to directives being inserted, the highest number already used is determined and is then used as a starting point for the new directives.
>
> ‘ < Menu # > ‘ is the unique number that identifies the menu. VPM Enterprise keeps track of the menu numbering internally. In new projects as well as VPM Enterprise, the main menu is number 1.
>
>

>from:
>http://promatrix.com/vpmetr/HTML/genmenux30.htm

Thanks, Tracy. I have a problem here and it seems a complex one again. I worked on VPM application from VFP first (no VPM) and the application had Admin menu.

I then switched to VPM and at some point build the application from it. Now the application doesn't have Admin menu and I want it back. I understood I had to go through setting Security manual, but why would the behavior change all of the sudden?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform