>Thanks a lot.
>
>This is a great help, especially the class definition part since this is pretty new to
>me. I know a few things about the OOP paradigm, but never thought of applying
>it to foxpro...
>
>Can you take a few minutes to explain to me how to make this new type of object class available to all my projects?
>
>Thanks
>
>Pascal
To make that easy, add this one into a VCX (ie:utilities.vcx) and include that VCX in your every project. Here are the steps :
In command window : Create class lblShadowText [enter]
In dialog that pops up, based on = Label, Save in = utilities.
A label control will come.
In PEM sheet change backstyle to 0 (transparent).
Dblclick on control to open code window and select init on right combo.
Cut&paste the code between "Procedure init", "endproc" lines there.
Ctrl+W, Ctrl+W to save code and to save class.
Now you have a utilities.vcx that you could keep your general purpose classes to add every project with only one member class for the moment. During designing forms, you could just drag&drop it onto form or still even call it programmatically (drag&drop is easier for beginning).
Cetin