>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 shudderhttp://www.news2news.com/vfp/?example=526I 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.