Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form doesn't stay on top when called from menu via keyboard.
Message
De
15/01/2001 12:39:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Form doesn't stay on top when called from menu via keyboard.
Divers
Thread ID:
00463841
Message ID:
00463841
Vues:
32
I have a top level form that I call from a menu bar. In the procedure for the menu I do something like this:

*& if it is already open, bring it to the front
if vartype(oForm1) = "O"
oForm1.SHOW
else
do form form1.scx NAME oForm1 LINKED
oForm1.SHOW
endif

If I click on the Menu Bar, and then choose the item, it appears on top and works perfectly. However, if I use a keyboard shortcut to hit the Menu Bar and then choose the item, if flashes on top, and then goes behind the calling form.

I assume that this is a bug in the Menu, but I would like to have a workaround.
Any suggestions?

Clayton Hall
DataPath Inc.
chall@dpath.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform