| Main | Install | End-user | Designer | Developer | Localization | |
Component: FZTextButtonComponent show the text button. The decoration of normal, over and down states is configured throw XML. Also, user can choose the over and out effects. It's a ideal solution for menus, or other widgets with customized text buttons. Property text:StringText of the button. Property decorationXML:XML
This property configure the component decoration. Event: buttonClickDispatched, when user press the button. Property linkURL:String
Page or external URL, where user will automatically move after button click. Property trackActivePage:BooleanIf set to TRUE, button will change state to DOWN, when current page URL is equal to linkURL. Property trackActiveSubpages:BooleanIf set to TRUE, button will change state to DOWN, when current page URL is substring of linkURL. For example: if linkURL = thissite://XmAdvPage-main/Demo, and current page = Demo/1, so button will move to DOWN state (Demo1 or Demo/1 is subpage of Demo) Function highlightCurrent(isHighlight:Boolean)If isHighlight, move TextButton to DOWN state; otherwise, move to NORMAL state. Can be used, when you want process clicks on your own (for example, if you want to highlight current track in MP3 playlist). |
Developer guideOverview API Lessons
|