Book Shelf
Our Products
Component News
Stay informed on our latest component releases and specials.
BaseExample
This base example mxml file shows you what a default TaskPaneFX and TaskListFX component look like with no styles and properties applied.

Below is a snippet of code from the application;
<containers:TaskPaneFX id="pane" title="My Task Pane" titleIcon="{AssetsLibrary.getInstance().logoteofxSmall}" barDoubleClickEnabled="true" barStyleNameOpened="horzStyles" barStyleNameClosed="vertStyles" showMinimizeButton="false" width="220"> <mx:Tree id="tree" labelField="@label" dataProvider="{treeData}" width="100%"/> </containers:TaskPaneFX> <containers:TaskListFX id="list" title="My Task List" titleIcon="{AssetsLibrary.getInstance().logoteofxSmall}" width="200"> <mx:CheckBox label="CheckBox One"/> <mx:CheckBox label="CheckBox Two"/> <mx:CheckBox label="CheckBox Three"/> <mx:CheckBox label="CheckBox Four"/> </containers:TaskListFX>
The pane instance
- Add the
titleproperty of "My Task Pane". - Add the
titleIconproperty of a class in theAssetsLibrary. - Add the
barDoubleClickEnabledproperty so the pane will open and close with a double click to the title bar. - Add the
styleNamepointers of;barStyleNameOpenedbarStyleNameClosed
- Add the
showMinimizeButtonproperty and set it tofalse.- This removes the pane's ability to min-restore it's children. There are no
TaskListFXcomponents as children so the pane cannot minimize it's children.
- This removes the pane's ability to min-restore it's children. There are no
Once we have the correct settings for the behavior we need, we can then add the child Tree component.
The pane styleNames
.horzStyles, .vertStyles { backgroundColor:#FFFFFF; } .vertStyles { horizontalAlign:"center"; }
This task pane has it's default open and closed bar placements at top (open) and left (closed). For the task pane to look correct when closed, we need to specify a new styleName for it's closed position.
- Create a .horzStyles style selector.
- Add
horizontalAlign:"center"to correctly align thetitleIconandmaximizeButton.
The list instance
- Add the
titleproperty of "My Task List". - Add the
titleIconproperty of a class in theAssetsLibrary.
Once we have the correct settings for the behavior we need, we can then add the child CheckBox components.
This simple operation created a working task pane and task list.
Privacy Policy | Copyright Notice| Disclaimer| Product EULA
©2003-2008 Teoti Graphix, LLC - All rights reserved.
©2003-2008 Teoti Graphix, LLC - All rights reserved.
