From the monthly archives:

December 2007

The following example shows how you can toggle the nested text field in a ColorPicker control’s swatch panel in Flex by setting the showTextField property.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can add custom context menu commands to a RichTextEditor control in Flex by setting the contextMenu property.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can change the appearance of the close button in a TitleWindow container in Flex by setting the closeButtonSkin style (or the closeButtonUpSkin, closeButtonOverSkin, closeButtonDownSkin, closeButtonDisabledSkin styles individually).

Full code after the jump.

[click to continue…]

{ 8 comments }

The following example shows you how you can toggle the close button in a TitleWindow container in Flex by setting the showCloseButton property.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can change the style name for the Flex RichTextEditor control to the predefined “.opaquePanel” style, by setting the styleName property on the RichTextEditor.

Full code after the jump.

[click to continue…]

{ 0 comments }

It seems that I’ve covered this before, “Toggling the control bar in a Flex RichTextEditor control”, but here is another useful way to toggle the control bar in a Flex RichTextEditor control. The following example shows how you can toggle the RichTextEditor control’s control bar by moving the mouse cursor over or out of the RichTextEditor instance.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can customize the appearance of the ColorPicker control’s nested text field in Flex 3 by setting the textFieldStyleName style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the swatch grid background color on a Flex 3 ColorPicker control by setting the swatchGridBackgroundColor style. You can also see how you can set the horizontalGap, and verticalGap styles using CSS.

Full code after the jump.

[click to continue…]

{ 0 comments }

Changing the swatch highlight size for a ColorPicker control in Flex 3

by Peter deHaan December 29, 2007

The following example shows how you can set the swatch highlight size on a Flex 3 ColorPicker control by setting the swatchHighlightSize style. You can also see how you can set the swatchBorderColor, swatchBorderSize, and swatchHighlightColor styles using CSS.
Full code after the jump.

Read the full article →

Changing the swatch border size for a ColorPicker control in Flex 3

by Peter deHaan December 29, 2007

The following example shows how you can set the swatch border size on a Flex 3 ColorPicker control by setting the swatchBorderSize style.
Full code after the jump.

Read the full article →

Styling a Flex 3 ComboBox control’s vertical scroll bars

by Peter deHaan December 29, 2007

The following example shows how you can style the vertical scroll bar on a ComboBox control in Flex 3 by setting the dropdownStyleName style and verticalScrollBarStyleName style.
Full code after the jump.

Read the full article →

Changing the default calendar icon in a Flex DateField control

by Peter deHaan December 28, 2007

The following example shows how you can change the default calendar icon that appears in a DateField control in Flex by setting the skin style.

Read the full article →