Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating automatically shadowed text
Message
From
24/08/1998 13:34:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/08/1998 13:14:18
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00129287
Message ID:
00129387
Views:
27
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform