Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlited cursor movement in grid
Message
 
À
05/11/1998 23:06:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00155108
Message ID:
00155115
Vues:
20
>I want to restrict highlighted cursor movement while scrolling
>it through a grid from left to right or from right to left.
>Other words - how to stop cursor on leftmost or rightmost column of the grid , not allowing cursor to move from leftmost to rightmost column ?
>
>Sergey.
Sergey,

In leftmost column control's keypress enter:
if nKeyCode=19 &&lf arrow
nodefault
this.setfocus
endif

And in the rightmost column control change to nKeyCode=4 &&rt arrow
Allen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform