PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Equivalence
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
Identifies the status of a menu option (popup menu or drop-down menu): active, inactive or invisible.
Versions 16 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Example
// Status of the "OPT_IconBar" option
ResStatus = MenuState(OPT_IconBar)
Syntax
<Result> = MenuState([<Window Name>,] <Name of Menu Option>)
<Result>: Constant
Current status of the menu option:
ActiveThe menu option is active.
GrayedThe menu option is grayed.
InvisibleThe menu option is invisible.
<Window Name>: Optional character string (with or without quotes)
Name of the window containing the menu option.
If this parameter is not specified, MenuState handles the current window.
<Name of Menu Option>: Character string (without quotes)
Name of the menu option to use. This name is defined in the description window of the menu option. This name must be specified without quotes.
Remarks

Equivalence

The syntax:
MenuState(<Name of Menu Option>)
is equivalent to ..State
<Name of Menu Option>..State
Components
WINDEVReports and Queries wd230obj.dll
Java wd230java.jar
Linux wd230obj.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment