Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any ideas how to do these UI features?
Message
De
04/09/2005 13:27:18
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
04/09/2005 12:39:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01046660
Message ID:
01046675
Vues:
19
Hi Malcolm,

Thanks for your suggestions and link. I'll experiment with them. If I find a way to make them work, I'll post my results here.

Mike


>Hi Mike,
>
>>First. I have seen other applications where a modal form is displayed and everything behind it fades to gray. I like this effect since it really makes the user focus on that modal form. Kinda like when you try to shut down WindowsXP from the start menu.
>
>An untested idea would be to stretch a semi-transparent image (perhaps a PNG?) over your entire application in your modal form's INIT and then remove or hide this image in your modal form's DESTROY? I believe PNG images have a translucence property that would allow you to control how much of the underlying content bleeds through the image.
>
>Another idea would be to review the cool form code on www.news2news.com. I believe there's Win 2000 and higher API's that make a form tranlucent. If this is the case, you might be able to stretch a form or window across your application that acheives a grayed out effect, launch your modal form, and then remove or hide the form providing the special effect.
>
>If you come up with a solution, post it back here so we can all enjoy it!
>
>>Secondly. I'm trying to use the anchor property to make the controls on a form "flow" when the form is resized. I'd like to make it work like HTML in a browser where all controls adjust their size and/or position according to the available space. A control's anchor property only seems to attach to the parent container and not to other controls.
>
>IMO, the secret to having anchor properties work like you expect is to strategically place your controls in nested containers which also have their anchor properties set. Designing forms that resize propertly is an art!
>
>Malcolm
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform