Lew Schwartz wrote on 2014-04-09: 
>  Guess I should have added that there will be many image controls on this
>  form. I need a way to work with the most recently added one individually.
>  
>  -Lew Schwartz
> 
>  On Wed, Apr 9, 2014 at 4:14 PM, Man-wai Chang <[email protected]> wrote:

Lew,

Expecting you are in a loop

cNewObjectName = "image001"
this.AddObject(cNewObjectName, "image")
oNewObject = eval("this." + cNewObjectName)

...

* I have gotten in the habit of releasing the object in the loop
oNewObject = .NULL.



Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: [email protected]
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/[email protected]
** 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