Information générale
Titre:
Problems managing grids
Versions des environnements
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement