Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrolling in a grid
Message
De
23/05/2012 18:51:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Scrolling in a grid
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01544223
Message ID:
01544223
Vues:
72
I have a grid on which I have set the LockColumns property to 5.

When the user Left Arrows into column 5 I want everything set to bypass the first five columns and move to the last column in the grid. To accomplish this I put RETURN .F. in the WHEN of each of the TextBoxes associated with the first five columns of the grid. This seems to be working when moving into Column 5.

However, when Right Arrow from the Last column into Column 1, I expected the focus to go to Column 6. Instead it goes to Colum 24.

There are 48 columns in the grid.
The controlsources for the grid columns do not much the field order of the underlying cursor (not sure this matters but just in case)

Does anybody have an explanation of why the behavior is different when moving right or left?

Is there a better way of getting what I want by using partitions and essentially hiding Columns 1-5 from the Right partition (tried that but never got it to work)

Thanks to all..........Rich
Répondre
Fil
Voir

Click here to load this message in the networking platform