|
|
|
|
HsMenu,Status (External language) In french: HsMenu,Etat Returns the status of a menu option (active, invisible, grayed). // In C // Status of the option corresponding to the LC path CALLWD("HsMenu,Status,LC"); if WDInt==1 CALLWD("INFO, The option is not active"); // Status of option 15 CALLWD("HsMenu,Status,15"); if WDInt==2 CALLWD("INFO, The option does not appear"); // In Pascal (* Status of the option corresponding to the LC path *) CALLWD('HsMenu,Status,LC'); if WDInt=1 then CALLWD('INFO, The option is not active'); (* Status of option #15 *) CALLWD('HsMenu,Status,15'); if WDInt=2 then CALLWD('INFO, The option does not appear'); // In VB ' Status of the option corresponding to the LC path call CALLWD("HsMenu,Status,LC") if WDInt=1 then call CALLWD('INFO, The option is not active') end if ' Status of option #15 call CALLWD("HsMenu,Status,15") if WDInt=2 then call CALLWD("INFO, The option does not appear") end if Syntax
HsMenu,Status([<Option>])
<Option>: Character string (optional) Number that corresponds to:- the subscript of the option
- a character string corresponding to the access path to the option (shortcuts).
Remarks HsMenu, Status returns the status of the menu option in WdInt. This status can correspond to: - -1 if the option does not exist
- 0 if the option is active
- 1 if the option is grayed
- 2 if the option is invisible
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|