gettingstarted
[Top] [All Lists]

Re: How to populate a ListBox from another window

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: How to populate a ListBox from another window
From: Greg Olson-Hyde <isomfield at optusnet dot com dot au>
Date: Sat, 28 Aug 2004 20:47:10 +1000
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <19229129-F8A7-11D8-9F97-003065502CFC at optusnet dot com dot au> <6A7BC9B3-F8A9-11D8-B3D4-000A95983FBE at ljug dot com>
Hi Will,

Thanks for your info - I have decided to go with your methods suggestion, at this point in my RB knowledge it is the easiest to understand and impliment.

RB 5.5.2, Mac OS X 10.3.5
Cheers

Greg
Sydney Australia
On 28 Aug 2004, at 2:19pm, Will Leshner wrote:


On Aug 27, 2004, at 9:02 PM, Greg Olson-Hyde wrote:

1. How can I get data into ListBox1 from another window? (just to make it more OOP)


The two ideas that spring to mind are either to package the data up in, say, an array, or a packed string or some such and then pass *that* to the sheet window, at which point it can unpack the data and build the ListBox. Or, you can create methods in your sheet window that add rows of data to the ListBox and then call those methods from your other window(s).

--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzLog: http://haranbanjo.com

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

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


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

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

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