Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling scrolling in a grid.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00092323
Message ID:
00093062
Views:
31
Paul,

Ok, column makes sense *g*

Put code like this in the grid.MouseDown:
LPARAMETERS nButton, nShift, nXCoord, nYCoord

this.height, sysmetric(8))

if ( ( nXCoord < this.Partition ) and ;
     ( nYCoord > ( this.Top + this.Height - sysmetric(8) ) ) )
   nodefault
endif
This prevents the grid from "seeing" the mouse down in the left partition horizontal scrollbar.

>Sorry, I must have mis-stated my problem. The *row* is fine. The problem is that I want to lock a *column* in the left partition, so that they cannot accidentally scroll that partition so that is doesn't show my key field.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform