PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HsMenu,Status (External language)
In French: HsMenu,Etat
Returns the status of a menu option (active, invisible, grayed).
Example
// 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
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment