Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another grid Q - Colums that TAB skips
Message
 
To
31/07/1998 12:13:22
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00123097
Message ID:
00123208
Views:
21
You might try playing with the 'WHEN' property. If you return .F., it should slide the user right on to the next column.

Barbara

>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
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform