Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Irregularly shaped forms or transparent forms
Message
De
16/04/2008 11:08:47
 
 
À
16/04/2008 10:35:47
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01311110
Message ID:
01311126
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform