Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fading Out Visual Foxpro Form Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01504655
Message ID:
01504686
Vues:
163
>Can you fade out a Visual Foxpro control (listbox, label etc.) ? I found several articles on doing that with a form but I'm wondering if you can do that instead with controls on a form.

I worked on a similar idea: instead of fading out, a control had to "shake" attracting user's attention. The GDI+ based approach was as follows:

- copy control's image to a buffer
- rotate the initial image by a small angle at a time, generate a succession of images (frames)
- hide the original control
- display generated frames at regular intervals; that creates an effect of a control shaking

GDI+: how to make VFP controls visually shake and shudder
http://www.news2news.com/vfp/?example=526

I guess the very same approach can be applied for fading controls out. Capture the original control, hide it, and then draw its image constantly increasing its transparency.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform