gettingstarted
[Top] [All Lists]

Re: Creating RB Windows and Controls via code

To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Creating RB Windows and Controls via code
From: "Philip Mobley" <Philip dot Mobley at biola dot edu>
Date: Sun, 29 Feb 2004 18:47:25 -0800
References: <a05300b0cbc683d2c73f2 at [10 dot 10 dot 13 dot 3]>
"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>

<Prev in Thread] Current Thread [Next in Thread>