FComponentsHx is a set of composants for haXe.
It will try to help all developpers that need to build haXe applications using forms with buttons, checkboxes, radiobuttons ...
For now the set has:

FLabel to display easyilly texts ( with or without HTML )

FTextInput to enter text ( password support )

FButton to make quickly a simple button, auto-sizeable or with your own size

FCheckButton to make checkable buttons

FRadioButton to make one-per-group checkable buttons

FListView to display a list of items that you can select, supporting multi-selection

FComboBox to display the famous openable box with choices

FProgressBar to indicate a progress ( of loading for example )

The components below are comming soon:

FScrollBar to allow scrolling contents of many other components

FDataGrid to allow you inserting values in a grid

FTreeView to expand and collapse datas as directories with files for example

FAccordion to have several pannels that hide each other ( hmm... my poor english... )

FTabControl similar to FAccordion allows you to have several pannels by clicking the tabs in the header

FSlider allows you to set a variable value by sliding ( like volume in a video player for example )

All this components are skinnable, you can make easilly yourowndesign. We'll see later how to do that.
As you can see, FComponents are still in progress, so please, don't hesitate to contact me for information,
for suggestions or to report bugs.

2. Installation :

FComponentsHx is a package of classes.
To install it, just copy the directory 'fcomponentshx' where you want and add this directory to the haXe classpath.
For example if you have the classes in 'C:\myClasses\fcomponentshx', you have to add this command to the compiler : '-cp C:\myClasses\fcomponentshx'.
Then you can access all components in your application.

Or, by using haxelib:

haxelib install fcomponentshxNote: The components work great without any skin. But if you want to add a skin, you have to add '-swf-lib mySkin.swf' to the compiler.
We'll see later about skins ;)

3. How to use :

FComponentsHx want to be as simple as possible. Maybe it will be difficult to use the first time but, this document will try to help all people, especially beginners !
Once all installed as seen in §2, you have to:

Instanciate the component you want, giving it parameters, some are optional

This picture is cut into 9 splices.
The top-left, top-right, bottom-left and bottom-right splices will not be deformed by scaling.
The top-center and bottom-center will be scaled by width.
The center-left and center-right splices will be scaled by height.
The center-center part ( here in blue ) will be fully scalled.
In this example, the 'Rectangle' set is : new Rectangle ( 3, 3, 58, 10);