realbasic-nug
[Top] [All Lists]

Re: Passing data to a form.

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Passing data to a form.
From: Thomas Reed <tareed at bitjuggler dot com>
Date: Tue, 30 Nov 2004 15:18:16 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <200411302004 dot iAUK4umm022881 at mac dot com>
On Nov 30, 2004, at 3:06 PM, Steve Smith wrote:

What's the best way to pass a string (or anything else) to a form?

Give your window a constructor, so you can do something like this:

dim w as new Window1("blah blah blah")

The constructor gets called before the Open event.

-Thomas

Personal web page: <http://homepage.mac.com/thomasareed/> My shareware: <http://www.bitjuggler.com/> Free REALbasic code: <http://www.bitjuggler.com/extra/>

There are 10 kinds of people in the world -- those who understand binary
numbers and those who don't.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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