Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid move to next column - don't want to !!
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Grid move to next column - don't want to !!
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:
01472367
Views:
125
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!!
Tommy Tillman A+ NetWork+ MCP
Next
Reply
Map
View

Click here to load this message in the networking platform