G
Guest
Hi All,
i have a TabControl with validation on each page. Validation works fine if user clicks pointer on
tab header. If user employs keyboard to switch pages (CTRL+TAB or CTRL+SHIFT+TAB) then
validation is not performed until after the new page has been displayed. If validation fails then
the user has no way to get back to the failing page to correct the error. Which is interesting.
Thinking this was another manifestation of the TCN_SELCHANGING message being absent from the
framework implementation i subclassed TabControl and overrode WndProc (see, e.g., postings
eaMOmmReCHA.3556@tkmsftngp08 and K8k4a.159949$vm2.118927@rwcrnsc54). Having done this
i see TCN_SELCHANGING is generated when the user clicks on tab headings to move pages. However,
it is *never* generated when the user uses the keyboard to navigate.
Anyone know either a way around this or another solution to my original problem?
i'm using v1.1 of the framework and C#.
TIA,
imp.
i have a TabControl with validation on each page. Validation works fine if user clicks pointer on
tab header. If user employs keyboard to switch pages (CTRL+TAB or CTRL+SHIFT+TAB) then
validation is not performed until after the new page has been displayed. If validation fails then
the user has no way to get back to the failing page to correct the error. Which is interesting.
Thinking this was another manifestation of the TCN_SELCHANGING message being absent from the
framework implementation i subclassed TabControl and overrode WndProc (see, e.g., postings
eaMOmmReCHA.3556@tkmsftngp08 and K8k4a.159949$vm2.118927@rwcrnsc54). Having done this
i see TCN_SELCHANGING is generated when the user clicks on tab headings to move pages. However,
it is *never* generated when the user uses the keyboard to navigate.
Anyone know either a way around this or another solution to my original problem?
i'm using v1.1 of the framework and C#.
TIA,
imp.