On 11/18/10 9:08 AM, Ed Leafe wrote: > There are times you would call the layout() method of an inner sizer, > but those are mostly for performance-based reasons. > This is normally done if you are updating the controls in the particular sizer. For example, suppose you have controls to take a pounds and ounces or kilograms input. The user can select the input that they want. On a selection change, you would hide the one set of controls and show the other set. Since the controls are taking up the same amount of space in the parent sizer, you only need to render that size that has this controls on it.
Another example is using a dPageFrameNoTabs control and rendering each page initially when it's shown. This approach helps speed up the initial form loading greatly. Regards, Nate _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/4ce58beb.7030...@gmail.com