Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a VFP Form that does not activate
Message
From
10/04/2007 00:28:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
09/04/2007 19:05:13
Goran Zidar
National Australia Bank
Melbourne, Australia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01213323
Message ID:
01213791
Views:
23
>Thanks for the input so far. But I think I did not word my question clearly enough. I actually do want to display the form and I do want to place controls on the form but I don't want the form to take focus away from the currently active form.
>
>In short I want a form with the behaviour of a toolbar (when you place a control on a toolbar clicking a toolbar control does not cause the Valid() of the current control to fire) but with the visible flexibility of a form (oe, borderless, always on top, in desktop, etc...) I have been shown how to strip the borders from a toolbar and that is fine but (as far as I can tell) the toolbar cannot be created in the desktop or placed on top.
>
>So yes I do want a form that is displayed but does not steal focus, so that I can create something similar to a popup menu using a VFP form rather than the popup control.

Another idea (that's all you'll get from me today :) - instantiate this form early on, before any other form, at negative coordinates. Then instantiate any other form you want. When you need it, just move it into visible area. So it will steal focus from no other form, when there are no other forms when it activates.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform