update the image object with a null value or empty

Moderator: Rathinagiri

Post Reply
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

update the image object with a null value or empty

Post 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.
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post 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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

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

Post by jairpinho »

Thank Rathi worked
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
Post Reply