Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Confessions of a SEX addict
Message
De
02/06/2005 11:34:47
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
01/06/2005 12:50:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01016755
Message ID:
01019418
Vues:
24
>Re: controls with transparency
>
>An interface idea I've been experimenting with is to build floating status indicators based on a transparent container with Zorder(0) with lots of images/shapes/labels displaying critical information. This works great except when this container is displayed over an input control that has focus.
>
>VFP appears to do an automatic Zorder(0) to the control that has focus so it pops up over this transparent container. This behavior results in an ugly and unprofessional appearance.
>
>One solution might be to place a transparent form or toolbar over this type of transparent container to prevent the control with focus from bleeding through the interface. There are Windows API calls to make a form transparent but I have not yet experiemented with these calls in this context.
>
>Perhaps my experience/experiments might give you guys some ideas.

How about showing some respect to the sanctity of the control with focus, and moving this transparent container automatically out of the way? IOW, in each control's .gotfocus(), add a call to thisform.CheckIfContainerIsCovering(this), which would move it away from the center of the form just enough to have the control with focus visible.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform