"Getting Started" <gettingstarted at lists dot realsoftware dot com> writes:
>At 4:50 PM -0800 2/29/04, Philip Mobley wrote:
>
>>Is there a way to create a window and it's controls entirely with code?
>
>No supported way, no.
>
>>I want to create a custom ProgressBar dialog class which will handle
>>creating the window and all of its elements. It would be quite simple
>>with just a ProgressBar and three StaticText fields.
>
>Why not simply make it a Window? Why would having it be a non-Window
>class, that creates a window dynamically, be preferable in any way?
Because I would like to make a reusable ProgressBarDialog class which an
instance can be "owned" by a Data control class. This would allow the
progress bar dialog to only be in existance during the data processing
phase. Linking to a specific project window would require more
communication between the class and the window, and would limit the
portability of the Data control class.
I realize that this may not be the RB way of doing things, but it would
definitely allow more flexibility. This request is just a slight
extension from the built in MsgBox and MessageDialog classes.
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|