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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The CheckMarkStyle property gets and sets the check icon of an option in a main or context menu. This icon appears only if the menu option is checked.
With this property, you can obtain groups of options with a similar behavior to that of radio buttons in menus in Windows 11. This property can be used whether the menu uses the Windows 11 design language or not.
Example
OPTION_Haut.StyleCoche = csCircle
OPTION_Milieu.StyleCoche = csCircle 
OPTION_Bas.StyleCoche = csCircle 
OPTION_Milieu.Cochée = True
Syntax

Getting the check icon of a menu options Hide the details

<Result> = <Element to handle>.CheckMarkStyle
<Result>: Integer constant
Tick style:
csCircleRound check icon.
csDefaultDefault checkmark.
<Element to handle>: Control name
Name of the menu option.

Changing the check icon of a menu options Hide the details

<Element to handle>.CheckMarkStyle = <new value>
<Element to handle>: Control name
Name of the menu option.
<new value>:
Style to be applied to the check icon:
csCircleRound check icon.
csDefaultDefault checkmark.
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help