Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfmenueval()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfMenuEval()
Executes the menu Code Blocks
------------------------------------------------------------------------------
Syntax:

     dfMenuEval( <aMenu> ) --> NIL

Parameters:

     <aMenu>    Menu Array.

Returns:

     NIL

Description:

     Executes the security code blocks, to change at run time the menu
     display.

Example:

     LOCAL aMenu := {}
     dfMenuAdd( aMenu, "1", MN_LABEL  ,;
                {||MN_ON}, {||.T.}, "Procedure"   ,;
                "ins",{||CliDeExe(DE_STATE_INK )} ,;
                "Data Entry" )
     dfMenuAdd( aMenu, "2", MN_LABEL  ,;
                {||MN_ON}, {||.T.}, "Report"       ,;
                "add",{||CliPrnExe(DE_STATE_INK )} ,;
                "Report" )
     dfLogin()
     dfMenuEval( aMenu )
     dfMenu( aMenu, 1,1,24,79 )

See also:

     dfMenu(), dfMenuAdd(), dfMenuBlock()

See Also: dfMenu() dfMenuAdd() dfMenuBlock()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson