Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sub form's shadow effect using shape object
Message
From
19/06/2006 16:15:54
 
 
To
19/06/2006 11:06:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01129983
Message ID:
01130076
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform