Page 1 of 1

Erase a Control

Posted: Thu May 06, 2010 5:18 pm
by Vanguarda
Hi friends,

I´ve a doubt about control managements with HMG.
I had create a Button with DEFINE command. Now i want know how to "destroy" (erase) this object for my form. Somebody know how to make this?

I thanks any help my friends,

Wish best regards,

Re: Erase a Control

Posted: Thu May 06, 2010 5:58 pm
by Rathinagiri
Had you tried the release method?

From HMG Reference:

Syntax:

<WindowName>.Release
<WindowName>.<ControlName>.Release

If ALL / MAIN clause is used (or main window is specified) all active windows are released and the program is terminated.

Re: Erase a Control

Posted: Thu May 06, 2010 6:30 pm
by Vanguarda
Rathi many thanks for your help. You´re a great man.

Thanks guy.

My best regards,