main logo
Subject: Re: add an array to a control
Author: "Anders Altberg"
Posted: 2003/08/30 13:48:00
 
View Entire Thread
New Search


The class desinger has a Class menu with an Add properties and methods item.
To add an array enter myarray(1,1) or any numbers. In the Init of the Class
you redemension it if needed
DIMENSION This.myarray(123,5)
With This.List1
.RowSourceType=5
.RowSource="this.myarray"
EndWith

As myarray is a property already of the form you can also set the rowsource
in List.Init
*List1.Init
With This
.RowSourceType=5
.RowSource="thisform.myarray"
EndWith

You can also create a Listbox class and make the array a property of the
List itself
-Anders


----- Original Message -----
From: "hamed" <hamed /AT/ raymehr D.O.T net>
To: <profox@leafe.com>
Sent: Saturday, August 30, 2003 4:13 PM
Subject: Re: add an array to a control


> And ...
> I know in a prg I can do that. The problem is how to do so in a class
> designer.
>
> Thanks to pay attention
>
>
[excessive quoting removed by server]





 
©2003 Anders Altberg
<-- Prior Message New Search Next Message -->