Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Thanks for the input Dragan.
The reason I am looking at this is I am using a non-visual class to do my validation for each object on a form. Each form has a validation class, the valid event of each object calls its appropriate validation method within the class and the save button calls a general method to validate every field. Unfortunately, setting focus to a particular object is something I do not have figured out. Thus the question.
I thought of using an array to hold the objects but felt it was more trouble than its worth. Cycling (Drilling Down) through the collection of objects calling the validation method for each object seems like an approach with some merit.
Robert
Précédent
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