Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Irregularly shaped forms or transparent forms
Message
From
16/04/2008 11:08:47
 
 
To
16/04/2008 10:35:47
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01311110
Message ID:
01311126
Views:
21
Hi Jay,

some time ago I found a small class written by Larry Miller in 2000. I definetly don't know anymore where it came from (UT perhaps? ;-) )

This class makes only the form itself transparent. Objects stay opaque, so all you have to do is


Drop the class on the form and name it oTrans
in Thisform.init put this code:
Thisform.oTrans.oFormRef = Thisform
Thisform.oTrans.SetFormTransparent(Thisform)
Set these Props
Thisform.BackColor = RGB(254,254,254)
Thisform.Borderstyle = 0
Thisform.TitleBar = 0
Then place some rounded shapes on it and have fun ;-)

I could mail you the class, as its public domain. Its to big to place it here, though. But I'm sure, someone will be able to locate it in the UT download archive. Its called frmtrans.vcx
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform