Archive for the 'CheckBox' Category

02
Jun

Using an embedded font with the ComboBox control in Flex

The following example shows how you can use an embedded font with the Flex ComboBox control by setting the fontFamily style.

Full code after the jump.

Continue reading ‘Using an embedded font with the ComboBox control in Flex’

29
May

Displaying CheckBox controls using the Repeater in Flex

The following example shows how you can display a series of CheckBox controls using the Flex Repeater with an Array data provider.

Full code after the jump.

Continue reading ‘Displaying CheckBox controls using the Repeater in Flex’

21
May

Setting an error string on a CheckBox control in Flex

The following example shows how you can set an error string on a Flex CheckBox control by setting the errorString property.

Full code after the jump.

Continue reading ‘Setting an error string on a CheckBox control in Flex’

06
Feb

Truncating the label on a Flex CheckBox control

The following example shows how you can truncate the label on a CheckBox control in Flex by setting the width property.

Full code after the jump.

Continue reading ‘Truncating the label on a Flex CheckBox control’

27
Jan

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’

29
Sep

Adding your own custom CheckBox control icons in Flex

The following example shows how you can override the default icon in the Adobe Flex CheckBox control and replace it with a custom embedded graphic.

Full code after the jump.

Continue reading ‘Adding your own custom CheckBox control icons in Flex’

13
Sep

Checking to see if a Flex CheckBox is selected before allowing a user to press a Button

The following example shows a few different ways of checking to see if the user selected a CheckBox control before allowing them to click a Button control. Got other tips? Leave them in the comments!

Full code after the jump.

Continue reading ‘Checking to see if a Flex CheckBox is selected before allowing a user to press a Button’

25
Aug

Changing a CheckBox control’s icon

The following example shows how you can customize the check icon in a CheckBox control and use embedded images instead.

Full code after the jump.

Continue reading ‘Changing a CheckBox control’s icon’

25
Aug

Changing a CheckBox control’s label placement

While probably not very useful to most, this is a quick post on changing the CheckBox control’s labelPlacement property to control where the text appears in relation to the check box.

Full code after the jump.

Continue reading ‘Changing a CheckBox control’s label placement’

25
Aug

Changing a CheckBox control’s icon color and border color

The following example shows how you can change the CheckBox control’s checkmark icon color and the border color by setting the control’s iconColor and borderColor styles repectively.

Full code after the jump.

Continue reading ‘Changing a CheckBox control’s icon color and border color’