PDA

View Full Version : <tabcontrol>



Belizan
April 21st, 2008, 09:40
I haven't had much luck finding any documentation on the <tabcontrol> in the FG reference library. Does anyone know where this element is described?

joshuha
April 21st, 2008, 14:26
tabcontrol is a custom control thats really not a default control. You can find it in common_templates.xml adn the script for it in scripts/template_tabcontrol.lua. What it does is just kinda of do a fancy image mapping so that each tab becomes a clickable windows.setVisible command. I have done the same kinda of control but for buttons before so its easy to take the concept and convert it into other applications.