Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids: Tab/Shift Tab operation on first row first col ..
Message
From
21/11/1996 17:38:28
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00013077
Message ID:
00013081
Views:
30
>With a grid a user can get *trapped* inside the grid by using tabs. (ie. once in the grid the default behaviour for tabs is to cycle thru the current row)
>
>I'm working on a base grid class. I'd like to include code so that a shift tab on row 1, col 1 will tab to the control previous to the grid based on tab orders of all controls on the form. Likewise i'd like the last row last col to tab out of the grid when the user tabs in this cell.
>
>i think i've got the code to do this in the keypress of the first last columns of an instanciated grid.
>
>Has anyone implemented this type of functionality into a grid base class?

I would make the column "inteligent" so it will identify if it is last first or middle and behave accordingly (ie not use 3 diff. columns)

anyway there is a problem with sub-classing grids and or columns that VFP will add it own base controls so you have to deal with adding columns programatically
(one of the smaller project I am working on is writing a builder that will solve this problem , this is done on my free time - which means it will be awhile before it will be ready)

Arnon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform