Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another grid Q - Colums that TAB skips
Message
De
31/07/1998 12:13:22
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Another grid Q - Colums that TAB skips
Divers
Thread ID:
00123097
Message ID:
00123097
Vues:
52
I have a grid, which is populated by several rows from a table. I want the first two colums (which make up the key) to be displayed, but not be selectable. In otherwords, I want column 3 to be the first column , and have the first two be "garnish" of sorts. Tab needs to skip them, arrowkeys need to skip them, clicking on them should do nothing.

I have solved it by making the text1.gotfocus() method be:

THIS.Parent.Parent.column3.SetFocus()

Which is great, EXCEPT, Shift-tab in col3 fails, left arrow in col3 fails, and most importantly - I can no longer trap Right-clicks on the first two columns (which is important). Is there any way to make teh two colums NOT be selectable, yet still trigger RightClick() events?

just making them RO is not enuff..it is a pain for (l)users to have to tab past them.

Tim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform