Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid move to next column - don't want to !!
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01472367
Message ID:
01472368
Views:
74
Add one or 2 extra pixels at the right, then the grid will not jump.
In other words, extra pixel or two before the border of the last column and the grid's border.

>Hi Gang!
>
>Question....
>
>I have a small grid on a form. The Grid has two columns.
>
>When I press Enter on the grid, on a certain row, I want the info to placed into From Properties... which it does.
>
>but....
>
>The grid jumps to the RIGHT (moves the columns to the left), when I don't want it to!! I leaves a blank area in the right of the grid.
>
>What am I overlooking?
>
>I have Allow Cell Selection set to .F. for the Grid.
>
>And in the Keypress event for the Grid, I have.....
>
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>
>IF nKeyCode = 13 	&& Enter Key
>	Thisform.p_seoddate = seod_aud.date
>	Thisform.p_seodtime = seod_aud.time
>	Thisform.cmdRerunOldSEOD.Enabled = .T.
>	Thisform.cmdexecute.Enabled = .F.
>	NODEFAULT 		&& Don't go to the next cell.... stay put
>ENDIF 
>
>
>Thanks in Advance!!
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform