|
|
|
|
|
CheckMarkStyle (Property) In french: StyleCoche
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. 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:
| | csCircle | Round check icon. | csDefault | Default 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:
| | csCircle | Round check icon. | csDefault | Default checkmark. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|