>> I found I was using a different syntax (e.g. thisform.NewObject('oIconBuddy',..),
>> so no code is required in this case from me.
>
>Fine. I personally like to actively destroy objects that I *do* create, but that's just a habit I adopted when I started doing a lot with ActiveX-Controls and needed to send "letters to Bill" all the time.
>
>
>>
>> Thanks again, my form is now completed and looks quite nice.
>> May be you can convert my classes to VFP base classes and include
>> this form as a test form with your class. Here is my current code again:.....
>>
>
>Yes, thank You. I'll try. Last time I could not get it to work but I did not invest too much time.
Create a form, drop a grid on it with 5 columns and set their properties. Move code from Load, Init, Activate. Create new method SelectRecord. Invoke it from Select button. Also add Cancel and Close buttons. I hope it would work. The only problem might be with double click.
Also change ErrorMsg function to messagebox.
If it's not broken, fix it until it is.
My Blog