Re: Obj reference to most recently added control

Author: Man-wai Chang

Posted: 2014-04-09 at 15:14:28

with thisform.path.to.Blah

.Picture = "c:\foobar.jpg"

endwith

On Thu, Apr 10, 2014 at 4:10 AM, Lew Schwartz <lew1716@gmail.com> wrote:

> Ok, I haven't written a program for 5 years, so please excuse the rust &

> don't all jump at once.

>

> I'm calling this.AddObject("Blah","Image") on a form and now I've got to

> populate the properties of the new image object. How do I get a reference

> to it so I can do stuff like:

>

> oLastImageObject.Picture = "c:\foobar.jpg"

>

> ?

>

> -Lew The dunce

>

>

> --- StripMime Report -- processed MIME parts ---

> multipart/alternative

> text/plain (text body -- kept)

> text/html

> ---

>

[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/CAGv=MJBtWGC2YnDjTmqOkW7L3DcqHXQv6wPFdiYM3v_h2tJJ5g@mail.gmail.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.

©2014 Man-wai Chang