Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with Grids and Containers
Message
De
24/09/2003 09:34:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
24/09/2003 09:18:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00831657
Message ID:
00831805
Vues:
39
>Hi Cetin. Thanks for your fast response. I try it and when I press Dn-Arrow it skips to the next record but then activates the next cell as if I have press Dn-Arrow and Left-Arrow. I try with this code in the Keypress event of a control inside the container.
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>IF nKeyCode = 24 && Dn-Arrow
> KEYBOARD "" CLEAR
> SELECT t_movl
> SKIP
> IF EOF()
> GO bottom
> ENDIF
> * Try to come back to the Grid (Gridmov) first Column
> Thisformset.frmPpal.pgfMovCbte.Page1.gridmov.Column1.SetFocus()
> Thisformset.frmPpal.pgfMovCbte.Page1.gridmov.Refresh()
>ENDIF
LPARAMETERS nKeyCode, nShiftAltCtrl
IF nKeyCode = 24 && Dn-Arrow
nodefault
Select(this.parent.parent.Parent.Recordsource) 
skip
IF EOF()
 GO bottom
ENDIF
* Try to come back to the Grid (Gridmov) first Column
*Thisformset.frmPpal.pgfMovCbte.Page1.gridmov.Column1.SetFocus()
*Thisformset.frmPpal.pgfMovCbte.Page1.gridmov.Refresh()
ENDIF 
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform