Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Confessions of a SEX addict
Message
From
02/06/2005 11:34:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
01/06/2005 12:50:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01016755
Message ID:
01019418
Views:
23
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform