General information
Title:
Problems managing grids
I got into problems in managing grids. Actually I need to control the tab order within a row of the grid.In other words, I am on a column x and i want to jump to column x-1 if a certain condition does not occurs.
Where should I place code ? I tried with the lostfocus event of the control but it does not work .
Another thing :-) I build a txtbox class wich test f th user made change.
I put a property called oldvalue.
In the when event i set this property = to the actual control value.
in the lostfocus event i test if the control value is equal to the oldvalue,
if so i call a method (changevalue() ) is it right ? It happen that sometimes it does not test the value properly, it does not set properly the oldvalue when I enter the control. But it happens sometimes, the first time I enter the control, if I enter the control again and made a change it works fine.
thank you all
Alessio
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only