ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Other ways to manage menu options
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Checked property gets and sets the checkmark state of an element.
This property can be used:
  • in the options of the main menus and context menus. In this case, you can know whether the checkmark is displayed to the left of the option.
Example
// Clic sur l'option "Afficher les Totaux"
IF OPT_OptionAfficher.Cochée THEN
	OPT_OptionAfficher.Cochée = False
	LIB_TOTAL.Visible = False
ELSE
	OPT_OptionAfficher.Cochée = True
	LIB_TOTAL.Visible = True
END
Syntax

Getting the checkmark state of an element Hide the details

<Result> = <Element to handle>.Checked
<Result>: Boolean or integer
  • For a menu item:
    • True if the menu option is checked,
    • False otherwise.
<Element to handle>: Character string
Name of element to be manipulated:
  • Name of the menu option.

Changing the checkmark state of an element Hide the details

<Element to handle>.Checked = <Displayed>
<Element to handle>: Character string
Name of element to be manipulated:
  • Name of the menu option.
<Displayed>: Boolean or integer
  • For a menu item:
    • True if the menu option is checked,
    • False otherwise.
Remarks

Other ways to manage menu options

The Checked property is equivalent to the following functions:
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help