AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de menús
  • Equivalence
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Identifies the state of a menu option (context menu or drop-down menu): active, inactive or invisible.
Example
// State of the "OPT_IconBar" option
ResState = MenuState(OPT_IconBar)
Syntax
<Result> = MenuState([<Window>, ] <Menu option>)
<Result>: Constant
Current state of the menu option:
ActiveThe menu option is active.
GrayedThe menu option is grayed.
InvisibleThe menu option is invisible.
<Window>: Optional window name
Name of the window containing the menu option.
If this parameter is not specified, MenuState will handle the current window.
<Menu option>: Option name
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(<Menu option>)
is equivalent to the State property:
<Menu option>.State
Component: wd290obj.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local