CheckBox Control

Definition:

The CheckBox control is a commonly used graphical control .
It can have one of two disabled states, checked or unchecked.

Flex clips the label of a CheckBox control to fit the boundaries of the control.
It changes the control from one state to another.
The <mx:CheckBox> tag to define a CheckBox control in MXML.
Source Code:

<?xml version=”1.0″?>
<!– controls\checkbox\CBSelected.mxml –>
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml”>
<mx:VBox>
<mx:CheckBox width=”100″ label=”Employee?” selected=”true”/>
<mx:CheckBox width=”120″ label=” emp.name?” selected=”false”/>
</mx:VBox>
</mx:Application>
Thanks with Regards,
Pandimalar A

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.