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>dbactstate()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dbActState()
Modify the state of one action
------------------------------------------------------------------------------
Syntax:

     dbActState( <cAct>, [<bState>] ) --> bOldSTate

Parameters:

     <cAct>     Action to check
     <bState>   Current state

Returns:

     <bOldSTate> Old state

Description:

     This function can be usefull to disable a key in the application

Example:

     . Example 1
     
     // If the user level is lower that 3
     IF dfUserLev()<3
        dbActState( "add", .F. ) // Disable the
                     // insert key
     ENDIF

See also:

     dbAct2Kbd(), dfUserLevel()

See Also: dbAct2Kbd()

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