Author: Tracy Pearson
Posted: 2014-04-09 at 15:32:01
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 <changmw@gmail.com> 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: 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/001401cf5432$c34c4fd0$49e4ef70$@powerchurch.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.