PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV 27 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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_Top.CheckMarkStyle = csCircle
OPTION_Middle.CheckMarkStyle = csCircle
OPTION_Bottom.CheckMarkStyle = csCircle
OPTION_Middle.Checked = True
Syntax

Getting the check icon of a menu options Hide the details

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

Changing the check icon of a menu options Hide the details

<Element to use>.CheckMarkStyle = <new value>
<Element to use>: 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