Dec 01, 2008, 9:55 AM
Multiple ext controls in single anchor (or workaround)
Hi,
I am new too Coolite and have been browsing through the examples. I am now at the stage where I am experimenting with the best way to build a form myself. It all seems rather straightforward as long as you need a single control per row. I just use a FormLayout with Anchors.
However there are instances when I want multiple controls in a single row and the Anchors don't seem to allow this. An example that's prbably common is multiple radiobuttons. Another is combo + 2x textboxes for phonenumbers (country/area/subscription).
Right now it seems to me that could either create a control inheriting the right class combinign these controls or abandon the FormLayout alltogether and go with a ContainerLayout and do everything manually.
What would be the recommended option here? I haven't seen any examples of these type of forms.
Kind regards,
Dirk Louwers
I am new too Coolite and have been browsing through the examples. I am now at the stage where I am experimenting with the best way to build a form myself. It all seems rather straightforward as long as you need a single control per row. I just use a FormLayout with Anchors.
However there are instances when I want multiple controls in a single row and the Anchors don't seem to allow this. An example that's prbably common is multiple radiobuttons. Another is combo + 2x textboxes for phonenumbers (country/area/subscription).
Right now it seems to me that could either create a control inheriting the right class combinign these controls or abandon the FormLayout alltogether and go with a ContainerLayout and do everything manually.
What would be the recommended option here? I haven't seen any examples of these type of forms.
Kind regards,
Dirk Louwers