Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sub form's shadow effect using shape object
Message
De
19/06/2006 16:15:54
 
 
À
19/06/2006 11:06:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01129983
Message ID:
01130076
Vues:
25
This message has been marked as a message which has helped to the initial question of the thread.
>Hi..
>
>I'm trying to create a shadow effect on the forms inside of my applications, using shape object.. Does anyone did this before? I'm trying to set the proper color and drawmode to give the optical ilusion closest possible for a shadow..
>
>If so.. Please would you mind to share what is the properties.. Or any other idea..
>


Hi Claudio,

This is another idea. I don't use shape object, but here is what I did (this create a "real" shadow):

- make a rectangular bitmap, 24x8 pixel for the bottom shadow and 8x24 for the right shadow. Use the light grey color (i.e. rgb = 192, 192, 192)

- create the mask for the bitmap (monochrome) with white color

- Use image object and use that bitmap, resize the object to adjust the shadow size (width / height).

If you want to try this, do not create a large bitmap. it will slow down the display

Hope it helps a bit
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform