Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a VFP Form that does not activate
Message
De
10/04/2007 00:28:47
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
09/04/2007 19:05:13
Goran Zidar
National Australia Bank
Melbourne, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01213323
Message ID:
01213791
Vues:
24
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform