Index
2012-12-18 05:34John Weller : Add an array as a form property
2012-12-18 05:38Peter Cushing : Re: Add an array as a form property
2012-12-18 05:43Mike Copeland : Re: Add an array as a form property
2012-12-18 05:44Allen : Re: Add an array as a form property
2012-12-18 05:50desmond.lloyd@gmail.com: Re: Add an array as a form property
2012-12-18 06:01AndyHC : Re: Add an array as a form property
2012-12-18 06:03Allen : Re: Add an array as a form property
2012-12-18 06:05Mike Copeland : Re: Add an array as a form property
2012-12-18 08:06Eurico Chagas Filho : Re: Add an array as a form property
2012-12-18 08:13John Weller : RE: Add an array as a form property
Back to top
Add an array as a form property

Author: John Weller

Posted: 2012-12-18 05:34:06   Link

I'm having a brain stall! I want to add an array as a property to a form

and can't remember what to do to initialise it as an array. Help!

TIA

John Weller

01380 723235

07976 393631

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/001301cddd13$97775630$c6660290$@johnweller.co.uk

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 John Weller
Back to top
Re: Add an array as a form property

Author: Peter Cushing

Posted: 2012-12-18 05:38:54   Link

With the form open go to menu item form / new property

type in aTest[1] and press enter

* Peter Cushing *

IT development and support

Signature

John Weller wrote:

> I'm having a brain stall! I want to add an array as a property to a form

> and can't remember what to do to initialise it as an array. Help!

>

> TIA

>

> John Weller

> 01380 723235

> 07976 393631

>

>

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/50D055CE.3090409@whisperingsmith.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Peter Cushing
Back to top
Re: Add an array as a form property

Author: Mike Copeland

Posted: 2012-12-18 05:43:26   Link

In code or using the IDE?

Using code, just "dimension this.array(1,2)"

Using the IDE form designer, open the form and while it is selected,

choose the menu option "Form" and then "New Property".

Finally, in the "Name" box, enter "array(1,2)" or whatever name and

dimensions you want.

Mike

-------- Original Message --------

Subject: Add an array as a form property

From: John Weller <john@johnweller.co.uk>

To: profoxtech@leafe.com

Date: 12/18/2012 5:34 AM

> I'm having a brain stall! I want to add an array as a property to a form

> and can't remember what to do to initialise it as an array. Help!

>

> TIA

>

> John Weller

> 01380 723235

> 07976 393631

>

>

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/50D056DE.3070509@ggisoft.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Mike Copeland
Back to top
Re: Add an array as a form property

Author: Allen

Posted: 2012-12-18 05:44:43   Link

myarray[1]

Al

-----Original Message-----

I'm having a brain stall! I want to add an array as a property to a form

and can't remember what to do to initialise it as an array. Help!

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/C3B3D6958796490DABEC21DA29785144@gslredacer

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Allen
Back to top
Re: Add an array as a form property

Author: desmond.lloyd@gmail.com

Posted: 2012-12-18 05:50:32   Link

Forgive me, what are typical uses of such an array?

------Original Message------

From: Allen

Sender: ProFox

To: profox@leafe.com

ReplyTo: ProFox Email List

Subject: Re: Add an array as a form property

Sent: Dec 18, 2012 5:44 AM

myarray[1]

Al

-----Original Message-----

I'm having a brain stall! I want to add an array as a property to a form

and can't remember what to do to initialise it as an array. Help!

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/C3B3D6958796490DABEC21DA29785144@gslredacer

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

Sent via BlackBerry by AT&T

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/621361519-1355831433-cardhu_decombobulator_blackberry.rim.net-363982071-@b25.c13.bise6.blackberry

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 desmond.lloyd@gmail.com
Back to top
Re: Add an array as a form property

Author: AndyHC

Posted: 2012-12-18 06:01:51   Link

define class mynewform as mybaseform implements iMypass2array

[HIDDEN] [PROTECTED] aNarray[42]

..... <g>

AndyD 8-)#

>

> -----Original Message-----

> I'm having a brain stall! I want to add an array as a property to a form

> and can't remember what to do to initialise it as an array. Help!

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/50D05B2F.8050006@hawthorncottage.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 AndyHC
Back to top
Re: Add an array as a form property

Author: Allen

Posted: 2012-12-18 06:03:32   Link

You can use arrays as a form property instead of each method. Makes it

available as thisform.array to all methods. Also Formname.array from other

forms and progs.

Al

-----Original Message-----

Forgive me, what are typical uses of such an array?

------Original Message------

From: Allen

Sender: ProFox

To: profox@leafe.com

ReplyTo: ProFox Email List

Subject: Re: Add an array as a form property

Sent: Dec 18, 2012 5:44 AM

myarray[1]

Al

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/DF7123DFA04946AD8273F77058AE90FD@gslredacer

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Allen
Back to top
Re: Add an array as a form property

Author: Mike Copeland

Posted: 2012-12-18 06:05:30   Link

It's just a very clean and orderly way to keep your memory variables

from stepping on each other...keeping reference to the form helps define

each array's scope and purpose.

Mike

-------- Original Message --------

Subject: Re: Add an array as a form property

From: Allen <profox@gatwicksoftware.com>

To: profoxtech@leafe.com

Date: 12/18/2012 6:03 AM

> You can use arrays as a form property instead of each method. Makes it

> available as thisform.array to all methods. Also Formname.array from

> other forms and progs.

> Al

>

> -----Original Message-----

> Forgive me, what are typical uses of such an array?

> ------Original Message------

> From: Allen

> Sender: ProFox

> To: profox@leafe.com

> ReplyTo: ProFox Email List

> Subject: Re: Add an array as a form property

> Sent: Dec 18, 2012 5:44 AM

>

> myarray[1]

> Al

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/50D05C0A.60207@ggisoft.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Mike Copeland
Back to top
Re: Add an array as a form property

Author: Eurico Chagas Filho

Posted: 2012-12-18 08:06:25   Link

thisform.oCol= CREATEOBJECT([Collection])

thisform.oCol.Add(CREATEOBJECT([Empty]))

ADDPROPERTY(thisform.oCol.Item(1),"cTable(1)")

E.

>________________________________

> From: Mike Copeland <mike@ggisoft.com>

>To: profox@leafe.com

>Sent: Tuesday, December 18, 2012 10:05 AM

>Subject: Re: Add an array as a form property

>

>It's just a very clean and orderly way to keep your memory variables from stepping on each other...keeping reference to the form helps define each array's scope and purpose.

>

>Mike

>

>-------- Original Message --------

>Subject: Re: Add an array as a form property

>From: Allen <profox@gatwicksoftware.com>

>To: profoxtech@leafe.com

>Date: 12/18/2012 6:03 AM

>> You can use arrays as a form property instead of each method. Makes it available as thisform.array to all methods. Also Formname.array from other forms and progs.

>> Al

>>

>> -----Original Message-----

>> Forgive me, what are typical uses of such an array?

>> ------Original Message------

>> From: Allen

>> Sender: ProFox

>> To: profox@leafe.com

>> ReplyTo: ProFox Email List

>> Subject: Re: Add an array as a form property

>> Sent: Dec 18, 2012 5:44 AM

>>

>> myarray[1]

>> Al

>>

>>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1355839585.46211.YahooMailNeo@web140603.mail.bf1.yahoo.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Eurico Chagas Filho
Back to top
RE: Add an array as a form property

Author: John Weller

Posted: 2012-12-18 08:13:04   Link

Thanks to all who replied - I knew it was simple but just couldn't remember

what to do. I'm using the array to populate a combobox from a table.

John

John Weller

01380 723235

07976 393631

> -----Original Message-----

> From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of

> Mike Copeland

> Sent: 18 December 2012 11:43

> To: profoxtech@leafe.com

> Subject: Re: Add an array as a form property

>

> In code or using the IDE?

>

> Using code, just "dimension this.array(1,2)"

> Using the IDE form designer, open the form and while it is selected,

choose

> the menu option "Form" and then "New Property".

> Finally, in the "Name" box, enter "array(1,2)" or whatever name and

> dimensions you want.

>

> Mike

>

> -------- Original Message --------

> Subject: Add an array as a form property

> From: John Weller <john@johnweller.co.uk>

> To: profoxtech@leafe.com

> Date: 12/18/2012 5:34 AM

> > I'm having a brain stall! I want to add an array as a property to a

> > form and can't remember what to do to initialise it as an array. Help!

> >

> > TIA

> >

> > John Weller

> > 01380 723235

> > 07976 393631

> >

> >

> >

> >

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/002001cddd29$cce0e1e0$66a2a5a0$@johnweller.co.uk

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 John Weller