Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with Grids and Containers
Message
From
24/09/2003 09:34:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/09/2003 09:18:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00831657
Message ID:
00831805
Views:
37
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform