PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Equivalence for managing the menu options
  • Differences between WINDEV and WINDEV Mobile: Managing the menu options
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
..Checked is used to find out and modify the checkmark status for an element.
This property can be used:
  • on the options found in the main menus and in the popup menus. In this case, you have the ability to know whether the checkmark is displayed or not in front of the option.
Example
// Click on "Display the totals" option
IF OPT_OptionDisplay..Checked THEN
OPT_OptionDisplay..Checked = False
STC_TOTAL..Visible = False
ELSE
OPT_OptionDisplay..Checked = True
STC_TOTAL..Visible = True
END
Syntax

Finding out the checkmark status for an element Hide the details

<Result> = <Element name>..Checked
<Result>: Boolean or integer
  • For a menu option:
    • True if the menu option is checked,
    • False otherwise.
<Element name>: Character string (with or without quotes)
Name of element to use:
  • Name of menu option.

Modifying the checkmark status for an element Hide the details

<Element name>..Checked = <Displayed>
<Element name>: Character string (with or without quotes)
Name of element to use:
  • Name of menu option.
<Displayed>: Boolean or integer
  • For a menu option:
    • True if the menu option is checked,
    • False otherwise.
Remarks

Equivalence for managing the menu options

..Checked is equivalent to the following functions for menu management:
Windows

Differences between WINDEV and WINDEV Mobile: Managing the menu options

The equivalence table is as follows:
Available functions
in WINDEV
Equivalent properties
MenuUnmark
MenuIsMarked
MenuMark
..Checked
MenuState..State
MenuInvisible..Visible
MenuSelectMinus..State
MenuSelectPlus..State
MenuLabel..Caption
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment