Hi,
IMO this method is better, because the C object will
be automatically destroyed when the var goes out of
scope. Basically there is no need to manually destroy
the object so there is also no possibility to forget
it by mistake and cause resource/memory leakage.
This is a very nice feature of
Hi budyanto
Hbcreate Return a reference to a object something like will happen in
CreateObject(
Also in visial foxpro can used object for form/windows
loForm = CREATEOBJECT("HiForm")
loForm.Show(1)
DEFINE CLASS HiForm AS Form
AutoCenter = .T.
Caption = "Hello, World"
ADD OBJECT lblHi as