Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to come out of container
Message
De
12/02/2012 18:01:09
 
 
À
12/02/2012 01:42:49
Mk Sharma
Shrishti Solutions
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01535170
Message ID:
01535262
Vues:
91
>i have set the TabStop=.F. for all CommandButtons in Container but after this when i press Up/Down arrow to goto next/Previous CommandButton then also it comes out of Container.
>
>may you send me a sample form at :
>mk_common@yahoo.com
>
>Thanks & Warm regards,
>mk.

Hi,

Try with following:

1) Leave TabStop to .T. (default)
2) Set KeyPreview on form to .T.
3) set in Keypress of your Text-, Editboxes and commandButtons in the container following:
Lparameters nKeyCode, nShiftAltCtrl
lnKC = nKeyCode
lnSAC = nShiftAltCtrl
Do Case
	Case m.lnKC = 9 And m.lnSAC = 0
		Nodefault
	Other
		DoDefault()
Endcase
and in the first object :
Lparameters nKeyCode, nShiftAltCtrl
lnKC = nKeyCode
lnSAC = nShiftAltCtrl
Do Case
	Case m.lnKC = 9 And m.lnSAC = 0
		Nodefault
       Case m.lnKC = 24 abd m.lnSAC = 0
                Nodefault
	Other
		DoDefault()
Endcase
Regards,

Koen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform