Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating automatically shadowed text
Message
From
24/08/1998 13:49:11
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/08/1998 13:40:10
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00129287
Message ID:
00129391
Views:
23
>Your help is greatly appreciated.
>
>Thanks again.
>
>Pascal
Pascal,
One note about that class. It does all of its job in init. So if later caption changes "shadow" should change. In class designer select class\add new method and add a custom method ie:CapChange with code :
lparameters tcNewCaption
this.caption = tcNewCaption
with evaluate("this.parent."+this.name+"shadow")
  .caption = tcNewCaption
endwith
So in code when you need to change caption :
*Instead of :
thisform.lblSahdowText1.caption = "Newcaption"
* You would call
thisform.lblSahdowText1.CapChange("Newcaption")
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
Reply
Map
View

Click here to load this message in the networking platform