My users don't like the fact that on the data grid, tabbing through a cell
fails to fire any validation.  This is because the data grid text box
column that encapsulates a data grid text box (inherits from standard text
box) doesn't expose enter/leave type events and the currency/binding
manager doesn't hit until the edit routine in the data grid text box column
occurs -- which sinks the column changing event in the underlying data
table / data set / IList.

I'm thinking no problem, I'll just add a message filter in (WndProc) and
fire the validation myself -- but I cannot figure out how to code this
given that the data grid text box is initially created in the constructor
for the data grid text box column -- so how to attach to it's message loop
and intercept the message that it's ignoring?

Catching the control's message pump seems like the way to do this, but I'm
open to low cost/quick 'n dirty solutions here that all the developers can
use without having to think too much.

Moderator: Please don't send me to Winforms no one there is going to know
how to do this.


Alan Robbins

Reply via email to