Page 1 of 1

update the image object with a null value or empty

Posted: Wed Apr 04, 2012 2:59 pm
by jairpinho
update the image object with a null value after a set image in an image object can not just clean the obejto

example:
main.image_1.picture := "c:\teste.jpg"
main.image_1.picture := "" && -> does not work
[u]Moderator Notes[/u] (Pablo César) wrote:Topic moved from Forum en Español.

Re: update the image object with a null value or empty

Posted: Wed Apr 04, 2012 5:07 pm
by Rathinagiri
If you don't want to show it you can either use hide() method or visible := .f.

If you don't want to keep the image or change the image, you can release() and then define again when required.

Re: update the image object with a null value or empty

Posted: Wed Apr 04, 2012 6:45 pm
by jairpinho
Thank Rathi worked