Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>
>You don't say what method/event this is in. It should be in the ValidEvent.
you're right, I didn't . It is.
however,
further to my last, I should have also pointed out that the textbox is subclassed with these validation routines. (Because I have at least three different forms which require the same data and validation).
If I DON'T use the class, but just cut and paste the code into an ordinary textbox, everything works as expected.
Thinking that it might be down to my not having specifically included the classlib, I added a line to do that - no effect. (Didn't really think it was that because it was, after all, running the code, so the class must have been visible to the app).
In other words the code is only failing when run from the subclassed textbox rather than a normal one with the same code in it.
Does this give us a further clue?
Harry
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