Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another grid Q - Colums that TAB skips
Message
De
31/07/1998 13:51:02
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
 
 
À
31/07/1998 12:13:22
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00123097
Message ID:
00123126
Vues:
13
Hi Tim;
Have you tried setting the TabStop property to .F. although this won't stop people from clicking in them. I also believe that if you want to do a right click you can't set enabled to .F. but I could be wrong.
HTH

>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
***************************
Bruce Gilmour

"Two things are infinite, the Universe and human stupidity. And I am not sure about the Universe."
- Albert Einstein
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform