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>dfsetmain()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfSetMain()
Sets  menu application
------------------------------------------------------------------------------
Syntax:

     dfSetMain( [<cMenu>] ) --> <cCurrentMenu>

Parameters:

     <cMenu>    Name of program that must be set

Returns:

     <cCurrentMenu> Name of activ Menu

Description:

     dfSetMain()  the first time that is call assign at a internal variable
     the name of activ menu, after is not changed at all. dfSetMain() is
     called  in all programs that are call from menu,  but only the first
     that use it will set internal variable cCurrentMenu
     
     In  this way is possible to know if an object is the first called or
     not. If is the first in fact are made control that are not repited on
     other successive objects

Example:

     dfSetMain("TEST") // Set help of subproject
     IF dfSetMain()=="TEST" // If is the current program
        ddIndex()               // that is configured as
        ....                    // main
     ENDIF

See also:

     dfHlpSet()

See Also: dfHlpSet()

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