PDA

View Full Version : Creating combo controls



Moon Wizard
February 14th, 2008, 23:51
Is there an easier way to create a combo control? (i.e. a templated control with 2 or more components, such as checkbox and text)

The only method I have seen to create a combo control is to create a genericcontrol and use the addTextWidget and addBitmapWidget functions in a script file.

I was hoping there was some way to combine controls in the XML without having to write a bunch of scripting.

Thanks,
JPG

Foen
February 15th, 2008, 06:24
You can create combo controls in two ways (neither of which are ideal): by using subwindows; or by using windowclasses in a windowlist.

I'd be very keen to see a 'container' control implemented in FG, which allows other controls to be nested within it, both for complex combo controls, and to help section a large windowclass.

Stuart