Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing problem on Hot-keys
Message
De
28/03/1998 14:23:38
Raul Davila
Davila Programming Services
Toa Alta, Porto Rico
 
 
À
28/03/1998 14:04:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00087925
Message ID:
00087928
Vues:
29
>Dear all,
>
>I have a formset which have 2 forms FORM1 and FORM2. In both of forms, there is a button with hot key Alt-A. When I presses a button in FORM1, it will setfocus to FORM2. Then when I want to use FORM2's Alt-A button, it will access FORM1's Alt-A button but not FORM2's. I think both forms are opening and I don't want to close FORM1 first before the focus goes to FORM2. How could I solve this problem?
>
>Power

Hi:

I bumped into that one a long time ago.
One workaround is to use a PageFrame instead of a FormSet.
You can put the same button with the same hot-key in different pages and it will work OK.

If your forms have lots of controls it's even better since you can
load the controls for each page on the Activate event for each page, this way the form containing the PageFrame loads faster.

There might be a way to do it with a FormSet but since my forms had LOTS of control I took the PageFrame approach.

Hope that helps.
R. Davila
DBA / Network Administrator
Administracion de Fomento Comercial
Gobierno de Puerto Rico

Still waiting for FoxPro for LINUX
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform