|
|
|
|
|
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_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 handle>.CheckMarkStyle
<Result>: Integer constant Style of checkmark:
| | 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|