Hello,
It would be very nice if PB could reuse already existing windows when creating new dialogs.
When freeing a dialog using FreeDialog, a flag could decide whether the dialog window should be closed automatically.
If this is not feasible, a function that recreates controls while ignoring the <window> definition could be a great solution.
This would be useful when creating, for example, multi-page dialogs, or where a window change could be quite awkward, e.g. when automating certain tasks.
Erion
Dialog: Reuse open windows
Dialog: Reuse open windows
To see a world in a grain of sand,
And a heaven in a wild flower,
Hold infinity in the palm of your hand,
And eternity in an hour.
- W. B.
Visit my site, also for PureBasic goodies http://erion.tdrealms.com
And a heaven in a wild flower,
Hold infinity in the palm of your hand,
And eternity in an hour.
- W. B.
Visit my site, also for PureBasic goodies http://erion.tdrealms.com