Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlling scrolling in a grid.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00092323
Message ID:
00093062
Vues:
32
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform