Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keyboard vs. Mouse click inconsistencies
Message
De
08/02/2006 07:41:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Keyboard vs. Mouse click inconsistencies
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Divers
Thread ID:
01094592
Message ID:
01094592
Vues:
46
Clicking on a menu to show form oForm is not identical to Alt + whatever key combination, even though the exact same code is executed.

Using the mouse, the called top-level form stays on top of the other forms (if any), but using the keboard it's minimized and has to be activated again from the taskbar.

The code that gets executed is
* DoForm() method of MainForm 
*
Lparameters cForm
Local oForm AS String, oShowForm AS String
oForm ='o' + cForm

With This
   oShowForm = '.' + oForm
   Try
      &oShowForm..Show()   && Fails the first time
   Catch
     .AddProperty(oForm,Null)
     &oShowForm  = Createobject(cForm)
     &oShowForm..Show()
   Endtry
Endwith
If you have any suggestions or comments I'd like to hear from you.

TIA & BR
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Répondre
Fil
Voir

Click here to load this message in the networking platform