Hello, I've got my first real Dabo application into a state where I can begin to worry about cosmetic questions. I've got a dPageFrame with two pages, one for a data grid showing several records, one with controls for one single record.
Several fields in the database keep their default values for most cases, so I use two panels: the first contains controls for all the fields that must always be filled in, then a row of buttons. The second panel contains controls for the fields that are rarely changed from their default values. The first of the buttons is a dToggleButton which shows or hides the second panel. Each of the panels contains a dGridSizer and all labels, entry fields and buttons on the panel go into cells of this sizer. All working quite well, and now the cosmetic problem: I'd like to have equal column widths for both grid sizers, and if at all possible I'd prefer not to calculate and set them explicitly. In the first sizer the column width is determined by the buttons, and that width would fit the columns of the second sizer quite well. On the other hand I don't want to lose the ability to show or hide all those controls with a single click (and with a very short event handler). Perhaps I should add that all the rarely used controls are for one and the same rare use case (paying bills in another currency than EUR), it's not simply a collection of diverse rare conditions. Thanks for hints, Sibylle -- Dr. Sibylle Koczian _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
