Hi

CarozoDeQuilmes wrote:
> 
> Hi, what is the better way for release (or destroy, or free, or delete) a
> widget (or control, or object) in hbqt ????
> 
> obj:close() , obj:destroy() , obj := NIL ??????????
> 

I assume you are talking about an object 
obtained with :new() method. If true, then 

oObj := QSomeObject():new()
...
...
oObj:pPtr := 0

OR if oObj is a local variable then you need not 
to free it anyway, GC will take care of that.

Regards
Pritpal Bedi

-- 
View this message in context: 
http://old.nabble.com/Little-question-about-HBQT-and-release-of-objects-tp26866502p26868717.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to