Thanks Tracy - that's just what I needed!  I thought of a grid but the
client wants me to emulate a web app they have which I must admit looks
cleaner than a grid so I'll give it a go - but a grid is the fall back
option <g>

John Weller
01380 723235
07976 393631  

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Tracy Pearson
> Sent: 22 April 2009 21:15
> To: [email protected]
> Subject: RE: Adding Objects to a Form
> 
> Can anyone point me to some code in Help or elsewhere which 
> will give me a start on how to add an object to a form?  
> THISFORM.AddObject
> You might want to look at using a GRID for this. You can put 
> a combobox in a grid.  
> 
> Where should I put the code on the form - Init?   
> Have the form.init call form.mycustommethod, and maintain 
> your code there.
> (events should always call methods methodology)  
> 
> Each combobox will use the same array or cursor of standard 
> field names - can I use an array property of the form?  
> Yes
> THISFORM.AddProperty("ArrayProperty[1]")  
> combobox.RowSource = "THISFORM.ArrayProperty"     


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/1fafceae73c04a1f91e3b384d802b...@wessex1
** 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.

Reply via email to