Re: Function returning an array

2006-12-14 Thread joe
On Dec 14, 2006, at 00:07 UTC, Octave Julien wrote: > Yes. The standard edition on Mac OS 10.3.9. Is there a way to > desactivate the declaration panel and declare methods and functions > manually ? Maybe that would force Realbasic to accept "string(,)" ? No, the work-around is to put some unli

Re: Function returning an array

2006-12-13 Thread Octave Julien
Le 14 déc. 06, à 00:44, [EMAIL PROTECTED] a écrit : However, when I add the coma between the brackets in the "Return type" field of the declaration panel, RealBasic discards the change, beeps and says "The return value must be a legal identifier". So I'm stuck with "string()" as the return t

Re: Function returning an array

2006-12-13 Thread Norman Palardy
On Dec 13, 2006, at 4:44 PM, [EMAIL PROTECTED] wrote: On Dec 13, 2006, at 22:58 UTC, Octave Julien wrote: Thanks to you and Joe for the advices. You're right about the coma, as it is said in the User's guide p. 292. However, when I add the coma between the brackets in the "Return type" fiel

Re: Function returning an array

2006-12-13 Thread joe
On Dec 13, 2006, at 22:58 UTC, Octave Julien wrote: > Thanks to you and Joe for the advices. You're right about the coma, as > it is said in the User's guide p. 292. However, when I add the coma > between the brackets in the "Return type" field of the declaration > panel, RealBasic discards the

Re: Function returning an array

2006-12-13 Thread Octave Julien
You should add a coma "," in the return declaration such as: Function modListeMots(s as string) As string(,) Hope this helps... Philippe Thanks to you and Joe for the advices. You're right about the coma, as it is said in the User's guide p. 292. However, when I add the coma between the br

Re: Function returning an array

2006-12-13 Thread joe
On Dec 13, 2006, at 22:03 UTC, Philippe Rigaux wrote: > You should add a coma "," in the return declaration such as: > > Function modListeMots(s as string) As string(,) Philippe is quite right, but in another way to tackle this particular problem, would be to pass in several arrays to be stuffed

Re: Function returning an array

2006-12-13 Thread Philippe Rigaux
future.My first problem comes from a function defined in a module. The function receives a string as a parameter. This string is actually a text. I want the function to separate its different words and store them in an array. I have no problem getting this to work. But I want this array to be the fo

Function returning an array

2006-12-13 Thread Octave Julien
Hello, I'm new to RealBasic and you might read me again in the near future.My first problem comes from a function defined in a module. The function receives a string as a parameter. This string is actually a text. I want the function to separate its different words and store them in an

Re: Mixing controls in an array

2006-09-28 Thread Bart Pietercil
Thanks Jack for holding up the light :-) So to conclude the thread(might be of help for someone later) This is what I did: No code is needed in the individual fields (their code is placed in the subclass (sqlite_) open event. In this event the control subscribes to the array

Re: Mixing controls in an array

2006-09-27 Thread CV
;s to App.StudentFields (it is not a sqlite_field) I changed the StudentFieldsArray to type Control. This seems to work as RB does not complain when I add the sqlite_ to the array. However RB does not accept the line App.StudentsFields (i).Displayinfo . This line only seems to work when the array is

Re: Mixing controls in an array

2006-09-27 Thread Bart Pietercil
d the StudentFieldsArray to type Control. This seems to work as RB does not complain when I add the sqlite_ to the array. However RB does not accept the line App.StudentsFields (i).Displayinfo . This line only seems to work when the array is of type sqlite_field At this point you should be able to

Re: Mixing controls in an array

2006-09-27 Thread CV
This seems to work as RB does not complain when I add the sqlite_ to the array. However RB does not accept the line App.StudentsFields (i).Displayinfo . This line only seems to work when the array is of type sqlite_field At this point you should be able to cast to expose the sub

Mixing controls in an array

2006-09-27 Thread Bart Pietercil
d the sqlite_ to the array. However RB does not accept the line App.StudentsFields (i).Displayinfo . This line only seems to work when the array is of type sqlite_field So here I am in some sort of catch 22 situation. Clearly a lack of understanding on how to fit the pieces of the puzzl

Re: Counting controls in a control array

2006-09-08 Thread Steven Hedgepeth
wrote:>On Sep 8, 2006, at 4:53 AM, Steven Hedgepeth wrote:>>>>>Apparently Ubound does not work for control arrays or else I've>>been unable to get the syntax correct. Does RB have a function or>>property that counts the number of controls in a control array?

Re: Array or Dictionary full of URLs

2006-09-08 Thread Steven Hedgepeth
ke sure when the user types in and send it to a(1), etc.Then make it so when the back button is pressed if a url is available in the array it goes to the last one not the current one viewed. Also when the forward button is pressed it goes to the url that was visited las

Fwd: Array or Dictionary full of URLS (saving currently viewed url and last url viewed)

2006-09-08 Thread Brian Heibert
How would I go about saving the currently viewed url and the last url viewed before that so then I would use a array like this: Dim aNames() as String //using the Array function aNames=Array("Fred","Ginger","Stanley") Begin forwarded message: From: B

Re: Array or Dictionary full of URLs

2006-09-08 Thread Brian Heibert
Quick question how do I get the url the user typed and send it to a(0) and then make sure when the user types in and send it to a(1), etc. Then make it so when the back button is pressed if a url is available in the array it goes to the last one not the current one viewed. Also when the

Re: Counting controls in a control array

2006-09-08 Thread Richard Campbell
AM, Steven Hedgepeth wrote: Apparently Ubound does not work for control arrays or else I've been unable to get the syntax correct. Does RB have a function or property that counts the number of controls in a control array? Sincerely,Steven Hedgepeth You can create your own. Keep the foll

Re: Array or Dictionary full of URLs

2006-09-08 Thread Jeff Borckardt
//This is very basic and clunky but hopefully clarifies things dim a(3) as string //your array dim b as string //another string for later dim i as integer //this loads values into your array a a(0)="Apples" a(1)="Oranges" a(2)="Kiwi" a(3)="Pears" /

Re: Counting controls in a control array

2006-09-08 Thread CV
On Sep 8, 2006, at 4:53 AM, Steven Hedgepeth wrote: Apparently Ubound does not work for control arrays or else I've been unable to get the syntax correct. Does RB have a function or property that counts the number of controls in a control array? Sincerely,Steven Hedgepeth Yo

Re: Counting controls in a control array

2006-09-08 Thread Russ Jones
Hi Steven. I'm not sure that there is a direct method, but Window.controlCount gives you the count for an entire window. You could cycle through all the controls, and use "isA" to count those that match your array. But, since you have complete control over this design element

Counting controls in a control array

2006-09-08 Thread Steven Hedgepeth
Apparently Ubound does not work for control arrays or else I've been unable to get the syntax correct. Does RB have a function or property that counts the number of controls in a control array?Sincerely,Steven Hedgepeth ___ Join Excite! -

Array or Dictionary full of URLs

2006-09-07 Thread Brian Heibert
I have never done arrays or dictionaries before can someone give me a example of either one that would store a list of urls? Brian ___ Unsubscribe or switch delivery mode: Search the archives of this

Re: Size of an array

2006-08-31 Thread Christian Sakowski
Am 31.08.2006 17:06 Uhr schrieb "Terry Ford" unter <[EMAIL PROTECTED]>: > Check out the Ubound Function in the Language Reference. Many thanks! -- Regards, [heubach-media] | Christian Sakowski [EMAIL PROTECTED] iChat/AIM: SakowskiF ICQ: 4thDimension (267537916) Tel: 040/52 10 59-23 -- What can w

Re: Size of an array

2006-08-31 Thread Terry Ford
On Aug 31, 2006, at 7:44 AM, Christian Sakowski wrote: Hi, How can i get the size of an array? Check out the Ubound Function in the Language Reference. Terry ___ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/supp

Re: Size of an array

2006-08-31 Thread Trausti Thor Johannsson
dim i as integer i = ubound(array) Trausti On Aug 31, 2006, at 4:44 PM, Christian Sakowski wrote: Hi, How can i get the size of an array? -- Regards, [heubach-media] | Christian Sakowski [EMAIL PROTECTED] iChat/AIM: SakowskiF ICQ: 4thDimension (267537916) Tel: 040/52 10 59-23 -- What can

Size of an array

2006-08-31 Thread Christian Sakowski
Hi, How can i get the size of an array? -- Regards, [heubach-media] | Christian Sakowski [EMAIL PROTECTED] iChat/AIM: SakowskiF ICQ: 4thDimension (267537916) Tel: 040/52 10 59-23 -- What can we do for you? heubach media Papenreye 22 | 22453 Hamburg, Germany Tel: +49/40/52 10 59 - 0 | Fax: -99

Re: Searching An Array of Objects Within An Object

2006-07-11 Thread Russ Jones
On Jul 11, 2006, at 3:38 AM, Kirt Cathey wrote: Hi All. I have a scenario where I am stuck on trying to search within arrays of objects. Here's the challenge, when a user clicks a button to add an entity, a process, or an employee, we need to search the globalEntity for the clicked node'

Searching An Array of Objects Within An Object

2006-07-11 Thread Kirt Cathey
Hi All. I have a scenario where I am stuck on trying to search within arrays of objects. Here is the scenario: We have three objects: Entity, Process, and Employee An entity contains an array of sub-entities (itself), and an array of processes, and processes contains an array of employees

Re: Accessing Array element within an Array of Arrays

2006-07-05 Thread Scott Wagner
Was shooting in the dark Sorry. i see what you were saying. now. cannot assign an array to an array. On Jul 5, 2006, at 2:48 PM, Norman Palardy wrote: On Jul 05, 2006, at 1:17 PM, Scott Wagner wrote: Dim s as String dim a as array This does not compile at all. Never has that I know of

Re: Accessing Array element within an Array of Arrays

2006-07-05 Thread Norman Palardy
On Jul 05, 2006, at 1:17 PM, Scott Wagner wrote: Dim s as String dim a as array This does not compile at all. Never has that I know of. It might be useful but it does not currently work. There is no type called array. Arrays are always arrays of some other type (either intrinsic or a

Re: Accessing Array element within an Array of Arrays

2006-07-05 Thread Scott Wagner
A little more info. If the array where returning a string Dim s as String dim a as array a = array1(1) s = a(1) this is for an array of arrays not sure if this is what you want or if it will work. No time to test it. You could try it. The other example is a 2 dimentional array. like this

Re: Accessing Array element within an Array of Arrays

2006-07-05 Thread Kevin Lohka
On 5-Jul-06, at 12:57 PM, Norman Palardy wrote: I have an array(level 1) which contains arrays(level 2). I'd like to access array elements with the 2nd level arrays but can't figure out the syntax. Any suggestions? Is it possible? array(index level 1 , index level 2) Got

Re: Accessing Array element within an Array of Arrays

2006-07-05 Thread Norman Palardy
On Jul 05, 2006, at 12:38 PM, Kevin Lohka wrote: Hello everyone. I have an array(level 1) which contains arrays(level 2). I'd like to access array elements with the 2nd level arrays but can't figure out the syntax. Any suggestions? Is it possible? array(index level 1 , ind

Accessing Array element within an Array of Arrays

2006-07-05 Thread Kevin Lohka
Hello everyone. I have an array(level 1) which contains arrays(level 2). I'd like to access array elements with the 2nd level arrays but can't figure out the syntax. Any suggestions? Is it possible? Thanks for any help. Kevin Loh

Re: Count Elements of Array

2006-06-15 Thread Chuck Pelto
On Jun 15, 2006, at 1:31 PM, Charles Yeomans wrote: On Jun 15, 2006, at 3:27 PM, Chuck Pelto wrote: What is the call to get the number of elements/items in an array? There isn't one. UBound returns the index of the last element of an array. Since the first element has index 0

Re: Count Elements of Array

2006-06-15 Thread Charles Yeomans
On Jun 15, 2006, at 3:27 PM, Chuck Pelto wrote: What is the call to get the number of elements/items in an array? There isn't one. UBound returns the index of the last element of an array. Since the first element has index 0, the number of elements is 1 + UBound. Charles Ye

Re: Count Elements of Array

2006-06-15 Thread Russ Jones
Hi Chuck. UBound(array) gives you the upper bound of the array. Since arrays number from 0, this is one less than the number of elements. Russ On Jun 15, 2006, at 3:27 PM, Chuck Pelto wrote: What is the call to get the number of elements/items in an array? Regards, Chuck

Re: Count Elements of Array

2006-06-15 Thread Norman Palardy
On Jun 15, 2006, at 1:27 PM, Chuck Pelto wrote: What is the call to get the number of elements/items in an array? uBound (array) + 1 arrays start at index 0 ___ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/supp

Count Elements of Array

2006-06-15 Thread Chuck Pelto
What is the call to get the number of elements/items in an array? Regards, Chuck ___ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsof

Re: Including Array of Objects Within an Object

2006-04-02 Thread JohnAvery
On Apr 1, 2006, at 8:10 PM, Kirt Cathey wrote: Also, why the -1 for count number declaration? To save on memory allocation? That is just a syntax that initializes an array to null. The first append will be element 0. The statements below are exactly equivalent in that regard: dim

Re: Including Array of Objects Within an Object

2006-04-02 Thread Charles Yeomans
The first element of a REALbasic array has index 0. So to declare an empty array, you set its upper bound to -1. The UBound function returns the index of the last element of the array. Thus an array has 1 + Ubound(theArray) elements. Charles Yeomans On Apr 1, 2006, at 11:10 PM, Kirt

Re: Including Array of Objects Within an Object

2006-04-02 Thread Charles Yeomans
Indeed it is. Whether or not you choose to expose the array itself is another question -- in the long run, I recommend not doing so -- but getting started is this simple. Charles Yeomans On Apr 1, 2006, at 11:09 PM, Kirt Cathey wrote: John, Thanks alot. Just to confirm: in RB (too) it

Re: Including Array of Objects Within an Object

2006-04-02 Thread Russ Jones
On Apr 1, 2006, at 11:10 PM, Kirt Cathey wrote: Also, why the -1 for count number declaration? To save on memory allocation? RB arrays extend from element 0 to an upper bound, which can be found at run time by the UBound method. If you declare an array with (0) it isn't empty

Re: Including Array of Objects Within an Object

2006-04-01 Thread Kirt Cathey
Also, why the -1 for count number declaration? To save on memory allocation? Thanks, Kirt 2006/4/2, Kirt Cathey <[EMAIL PROTECTED]>: > John, > > Thanks alot. Just to confirm: in RB (too) it is as simple as declaring > an array of another object/class within a class? > >

Re: Including Array of Objects Within an Object

2006-04-01 Thread Kirt Cathey
John, Thanks alot. Just to confirm: in RB (too) it is as simple as declaring an array of another object/class within a class? Thanks again. -Kirt 2006/4/2, JohnAvery <[EMAIL PROTECTED]>: > > On Apr 1, 2006, at 5:02 PM, Kirt Cathey wrote: > > > Hi All. > > > >

Re: Including Array of Objects Within an Object

2006-04-01 Thread JohnAvery
stuck on one issue. Have created a class called Entity -- as in business entity -- and within each Entity class I need to include an array, or multiple instances, of a Process class; then within each Process class, need to include multiple instances of a Risk class and on and on. How do I

Re: Including Array of Objects Within an Object

2006-04-01 Thread Russ Jones
Hi Kirt. You can easily include an array of objects within another object, to as many levels as you like. One way is to include a Property in your parent window that is initially empty, then populate it with new objects as required. So the property would look like myEntityArray(-1) as

Including Array of Objects Within an Object

2006-04-01 Thread Kirt Cathey
Entity -- as in business entity -- and within each Entity class I need to include an array, or multiple instances, of a Process class; then within each Process class, need to include multiple instances of a Risk class and on and on. How do I declare the Process class within Entity and allow for

RE: Array

2006-01-29 Thread Dixon, Tom
Try creating the Array as a property of the window instead of dimensioning it locally. Then use Append to add new URLs to the array. To find the last URL use Ubound or you could just keep track of the number of URLs in another property. > > I don't know but I was told that using a ar

Re: Array

2006-01-29 Thread Brian Heibert
I don't know but I was told that using a array I could save how many sites have been visited and create a back button that goes back to the previous sites visited I would do something similar for the foward button too Brian On Jan 29, 2006, at 6:03 AM, CV wrote: On Jan 28, 2006, at

Re: Re: Array

2006-01-29 Thread daniel
Hello, I will be out of the office from 2pm on January 25th to Noon on January 27th. I will be checking email sporadically but will most likely not be able to make any replies until Friday the 27th. If you need immediate assistance feel free to call and leave me a voice mail at 917-282-9037

Re: Array

2006-01-29 Thread CV
On Jan 28, 2006, at 11:54 AM, Brian Heibert wrote: Hi, I tried something like this: dim vi as string vi = viewer.gofield.text Dim myArray() as String Dim newArray() as String myArray(0)=vi newArray()=myArray //newArray set equal to myArray viewer.htmlviewer1.loadurl Str(newA

Array

2006-01-28 Thread Brian Heibert
Hi, I tried something like this: dim vi as string vi = viewer.gofield.text Dim myArray() as String Dim newArray() as String myArray(0)=vi newArray()=myArray //newArray set equal to myArray viewer.htmlviewer1.loadurl Str(newArray) I want to make a back button & a forward button

Re: Array

2006-01-22 Thread Seth Willits
in the documentation, do ask. It's just that you've asked this question about 20 times and it seems to me that if someone says "you need an array" you just look up the word "Array" somewhere, copy example code, paste it into your project, change a variable name

Re: Array

2006-01-22 Thread Brian Heibert
owser Are you saying that, in the three plus years you have been using REALbasic, you have never used an array? ___ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list

Re: Array

2006-01-22 Thread Terry Ford
have never used an array? ___ 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>

Re: Array

2006-01-22 Thread Brian Heibert
array that would save the last url that was entered in the url edit field so if a new url is entered in the edit field when the user clicks back it would go back to the old edit field dim saveurl() as string saveurl = gofield.text if gofield.text <> saveurl then //s

Re: Array

2006-01-22 Thread Seth Willits
On Jan 22, 2006, at 11:53 AM, Brian Heibert wrote: How would I go about creating a array that would save the last url that was entered in the url edit field so if a new url is entered in the edit field when the user clicks back it would go back to the old edit field dim saveurl() as

Array

2006-01-22 Thread Brian Heibert
How would I go about creating a array that would save the last url that was entered in the url edit field so if a new url is entered in the edit field when the user clicks back it would go back to the old edit field dim saveurl() as string saveurl = gofield.text if gofield.text

Re: The Array As a Property

2006-01-03 Thread Charles Yeomans
You can pass references to arrays between methods -- Sub TheMethod(foo() as SomeType) allows you to pass an array of type SomeType to TheMethod. Charles Yeomans On Jan 3, 2006, at 2:38 PM, Chuck Pelto wrote: I think I figured it out An array must be passed as a string between methods

Re: The Array As a Property

2006-01-03 Thread Chuck Pelto
I think I figured it out An array must be passed as a string between methods Happy New Year, Chuck On Jan 3, 2006, at 12:18 PM, Charles Yeomans wrote: On Jan 3, 2006, at 2:06 PM, Chuck Pelto wrote: Sorry I missed this discussion. I suddenly realized I needed it. What's

Re: The Array As a Property

2006-01-03 Thread Charles Yeomans
On Jan 3, 2006, at 2:06 PM, Chuck Pelto wrote: Sorry I missed this discussion. I suddenly realized I needed it. What's your question? -- Charles Yeomans ___ Unsubscribe or switch delivery mode:

The Array As a Property

2006-01-03 Thread Chuck Pelto
Sorry I missed this discussion. I suddenly realized I needed it. What was the outcome, as the archive server is STILL 'off-line' and their back-up Google system doesn't seem to be able to find the pages relating to this matter. Or at least I can't open them from the list provided by the Goo

Re: Two-Dimensional Array as Property?

2005-12-30 Thread CV
On Dec 29, 2005, at 7:41 PM, Barry Traver wrote: Jack, Don't put a space in the declaration. That is: Array(-1, -1) will fail but Array(-1,-1) will work. Yes, it's a bug in the declaration entry field. If a space is placed intentionally or inadvertently between the arg

Re: Two-Dimensional Array as Property?

2005-12-29 Thread Barry Traver
Jack, Don't put a space in the declaration. That is: Array(-1, -1) will fail but Array(-1,-1) will work. Yes, it's a bug in the declaration entry field. If a space is placed intentionally or inadvertently between the arguments the property declaration is truncated at that poin

Re: Two-Dimensional Array as Property?

2005-12-29 Thread CV
On Dec 29, 2005, at 10:25 AM, Seth Willits wrote: On Dec 29, 2005, at 1:32 AM, Barry Traver wrote: In RB 2005, how do you designate a two-dimensional string array as a Property? Thanks! Don't put a space in the declaration. That is: Array(-1, -1) will fail but Array(-1,-1) will

Re: Two-Dimensional Array as Property?

2005-12-29 Thread Russ Jones
Just try it... Russ On Dec 29, 2005, at 1:37 PM, Sean Arney wrote: Surely you are joking. What the h? -seanA ___ Unsubscribe or switch delivery mode: Search the archives of this list here:

Re: Two-Dimensional Array as Property?

2005-12-29 Thread Sean Arney
> On Dec 29, 2005, at 1:32 AM, Barry Traver wrote: > >> In RB 2005, how do you designate a two-dimensional string array as >> a Property? Thanks! > > Don't put a space in the declaration. > > That is: Array(-1, -1) will fail but Array(-1,-1) will work.

Re: Two-Dimensional Array as Property?

2005-12-29 Thread Seth Willits
On Dec 29, 2005, at 1:32 AM, Barry Traver wrote: In RB 2005, how do you designate a two-dimensional string array as a Property? Thanks! Don't put a space in the declaration. That is: Array(-1, -1) will fail but Array(-1,-1) will work. Seth Wi

Re: Two-Dimensional Array as Property?

2005-12-29 Thread CV
Thanks! I discovered by esperimenting that Declaration: My Array (-1, -1) As String and Declaration( , ) As String didn't work (nor does Declaration: My Array(12, 30) As String), but I didn't know (and couldn't find in the documentation) what else to use. When you ar

Re: Two-Dimensional Array as Property?

2005-12-29 Thread CV
This compiles and runs just fine and populates the ListBox just fine so I do not understand why you can't get MyArray(-1,-1) to work and why it gives you syntax errors. Good point. MyArray(-1,-1) is working fine for me this morning. But not MyArray(,) or MyArray( , ), which is con

Re: Two-Dimensional Array as Property?

2005-12-29 Thread CV
On Dec 29, 2005, at 5:59 AM, Barry Traver wrote: Jack,, Declaration: MyArray(m,n) As: string I thought this would work, but RB 2005, Release 4, for Windows doesn't like it when it tries to compile the program. It highlight the "m" in yellow, and tells me that it doesn't exist . Any

RE: Two-Dimensional Array as Property?

2005-12-29 Thread Dixon, Tom
Barry, I just did the following test: 1. Created new sample project 2. Added a module called Module1 3. Created a property in Module1 with the Declaration: MyArray(-1,-1) As String 4. Created a Method in Module1 called PopulateMyArray and added the following code: Redim MyArray(1,1) MyArray(

Re: Two-Dimensional Array as Property?

2005-12-29 Thread Barry Traver
Jack,, Declaration: MyArray(m,n) As: string I thought this would work, but RB 2005, Release 4, for Windows doesn't like it when it tries to compile the program. It highlight the "m" in yellow, and tells me that it doesn't exist . Any suggestions? (I even tried making Properties of "m" an

Re: Two-Dimensional Array as Property?

2005-12-29 Thread Barry Traver
Jack, In RB 2005, how do you designate a two-dimensional string array as a Property? Thanks! Declaration: MyArray(m,n) As: string There is no Append for two-dimensional arrays and the declarations MyArray(,) and MyArray(-1,-1) give syntax errors. Thanks! I discovered by

Re: Two-Dimensional Array as Property?

2005-12-29 Thread CV
On Dec 29, 2005, at 1:32 AM, Barry Traver wrote: In RB 2005, how do you designate a two-dimensional string array as a Property? Thanks! Declaration: MyArray(m,n) As: string There is no Append for two-dimensional arrays and the declarations MyArray(,) and MyArray(-1,-1) give syntax

Two-Dimensional Array as Property?

2005-12-29 Thread Barry Traver
In RB 2005, how do you designate a two-dimensional string array as a Property? Thanks! Barry Traver ___ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here:

Re: Window array

2005-12-27 Thread John Sunderland
Thanks to all, problem solved. Bernard ___ Unsubscribe or switch delivery mode: Search the archives of this list here:

Re: Window array

2005-12-27 Thread Arnaud Nicolet
x, so they form an array "Win()". The original Window1 remains invisible. The problem is that I can not see a way to file the info entered to the ListBoxes in this array since it is not possible to refer in code to controls on the cloned windows before they exist. E.g: Win

Re: Window array

2005-12-27 Thread Steve Garman
In a message regarding Window array dated Tue, 27 Dec 2005 19:23:24 -, Bernard Sunderland said that ... > Win(2).ListBox.Cell(etc) > crashes on compiling since this ListBox does not yet exist. My guess is youve dimensioned Win() as Window rather than as Window1 If so, you need t

Window array

2005-12-27 Thread Bernard Sunderland
Having put into use the point made by Araud Nicolet, I find a different major problem: In an MDI App. I provide for the user to create any number of "New" examples of Window1 on which there are several controls, including a ListBox, so they form an array "Win()". The orig

Re: Window array

2005-12-26 Thread Arnaud Nicolet
wXcount=wXcount+1 and get an array of windows. My question is simply, is this a sensible way to do it? If you write: dim w As WindowX w=new WindowX wX.append w then you don't have to have the wXCount property (use UBound(wX) to get how many windows are in wX (0 is the first one, so

Window array

2005-12-26 Thread Bernard Sunderland
in the App properties "wX(0) as window" and "wXcount as integer" (actually, a different one of each of these for each kind of window offered hence the X) then I can add a Menu item FileNew as: wX(wcount)=New WindowX wXcount=wXcount+1 and get an array of windows. My