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.
  • Versions 16 and later
    WINDEVWindows Mobile on the lines of TreeView controls. In this case, you have the ability to know whether the checkmark is displayed, not displayed or in an undefined status.
    New in version 16
    WINDEVWindows Mobile on the lines of TreeView controls. In this case, you have the ability to know whether the checkmark is displayed, not displayed or in an undefined status.
    WINDEVWindows Mobile on the lines of TreeView controls. In this case, you have the ability to know whether the checkmark is displayed, not displayed or in an undefined status.
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.
  • Versions 16 and later
    WINDEVWindows Mobile For a line in a TreeView control:
    • 1 if the option is checked
    • 0 if the option is unchecked
    • -1 if the option status is undefined.
    New in version 16
    WINDEVWindows Mobile For a line in a TreeView control:
    • 1 if the option is checked
    • 0 if the option is unchecked
    • -1 if the option status is undefined.
    WINDEVWindows Mobile For a line in a TreeView control:
    • 1 if the option is checked
    • 0 if the option is unchecked
    • -1 if the option status is undefined.
<Element name>: Character string (with or without quotes)
Name of element to use:
  • Name of menu option.
  • Versions 16 and later
    WINDEVWindows Mobile Line of specified TreeView control with the following notation: <TreeView name>[Line subscript].
    New in version 16
    WINDEVWindows Mobile Line of specified TreeView control with the following notation: <TreeView name>[Line subscript].
    WINDEVWindows Mobile Line of specified TreeView control with the following notation: <TreeView name>[Line subscript].

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.
  • Versions 16 and later
    WINDEVWindows Mobile Line of specified TreeView control with the following notation: <TreeView name>[Line subscript].
    New in version 16
    WINDEVWindows Mobile Line of specified TreeView control with the following notation: <TreeView name>[Line subscript].
    WINDEVWindows Mobile Line of specified TreeView control with the following notation: <TreeView name>[Line subscript].
<Displayed>: Boolean or integer
  • For a menu option:
    • True if the menu option is checked,
    • False otherwise.
  • Versions 16 and later
    WINDEVWindows Mobile For a line in a TreeView control:
    • 1 if the option is checked
    • 0 if the option is unchecked
    • -1 if the option status is undefined.
    New in version 16
    WINDEVWindows Mobile For a line in a TreeView control:
    • 1 if the option is checked
    • 0 if the option is unchecked
    • -1 if the option status is undefined.
    WINDEVWindows Mobile For a line in a TreeView control:
    • 1 if the option is checked
    • 0 if the option is unchecked
    • -1 if the option status is undefined.
Remarks

Equivalence for managing the menu options

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

Differences between WINDEV and WINDEV Mobile: Managing the menu options

WINDEV The menu options (in main menus or in popup menus) can be managed by the Menuxxx functions and by the corresponding properties.
Windows Mobile To optimize the size of WINDEV Mobile framework installed on the Mobile device (Pocket PC), only the properties can be used to handle the menu options by programming.
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