PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • 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
    Windows 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
    Windows 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.
    Windows 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
    Windows 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
    Windows 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.
    Windows 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
    Windows Mobile Line of specified TreeView control with the following notation: <TreeView name>[Line subscript].
    New in version 16
    Windows Mobile Line of specified TreeView control with the following notation: <TreeView name>[Line subscript].
    Windows 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
    Windows Mobile Line of specified TreeView control with the following notation: <TreeView name>[Line subscript].
    New in version 16
    Windows Mobile Line of specified TreeView control with the following notation: <TreeView name>[Line subscript].
    Windows 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
    Windows 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
    Windows 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.
    Windows 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:
Windows Mobile

Differences between WINDEV and WINDEV Mobile: Managing the menu options

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 required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment