Category Archives: CheckBox

Displaying a hand cursor when the user rolls over the CheckBox control in Flex

The following example shows how you can display a hand cursor when the user rolls their mouse over the Flex CheckBox control by setting the useHandCursor and buttonMode properties.

According to the documentation for the useHandCursor property:

A Boolean value that indicates whether the pointing hand (hand cursor) appears when the mouse rolls over a sprite in which the buttonMode property is set to true. The default value of the useHandCursor property is true. If useHandCursor is set to true, the pointing hand used for buttons appears when the mouse rolls over a button sprite. If useHandCursor is false, the arrow pointer is used instead.

Full code after the jump.

Continue reading Displaying a hand cursor when the user rolls over the CheckBox control in Flex

Enabling sticky highlighting on a CheckBox control in Flex

The following example shows how you can enable sticky highlighting on a Flex CheckBox control by setting the stickyHighlighting property.

According to the documentation for the stickyHighlighting property:

If false, the CheckBox displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true, the CheckBox displays its down skin when the user presses it, and continues to display this skin when the user drags the mouse off of it.

Full code after the jump.

Continue reading Enabling sticky highlighting on a CheckBox control in Flex

Using a CheckBox control as a list item renderer in Flex

The following example will show you how you can use a CheckBox control as a custom item renderer in a List control in Flex.
I haven’t done a lot of testing yet, so if you have any tips/suggestions/improvements, please, share them in the comments.

Full code after the jump.

Continue reading Using a CheckBox control as a list item renderer in Flex