Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Data Grid Column cell Setfocus problem
Versions des environnements
Network:
Windows 2003 Server
Hi,
I have a data grid for editing a table, it have only 3 columns only.
for example:
Column 1 is Client code, column 2 is client name, column 3 is client address
when add a new record, I want to check column 1 is a valid client code before tab to column 2,
if the input not a valid client code, I want setfocus to column 1 until input a valid client code.
I put the code in the Valid Event, but it don't allow me to setfocus here,
I try put the code in Lostfocus event, but not success.
Please advise.
Derek
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