Click to See Complete Forum and Search --> : Simply TextBox, but .....


Zachi
July 28th, 2002, 03:43 PM
I'm creatig a TextBox at runtime and would like to process the events such as "OnChange" or "OnMouseClick" which are being sent from or sent to my TextBox. How can I catch these events in order to deal with them ?

Regards, Zachi :)

DSJ
July 29th, 2002, 07:54 AM
Dim WithEvents txtVar as TextBox

Then you should see the events listed...

Zachi
July 29th, 2002, 02:01 PM
Well, I do see the events in the list, but 1.) how can I process them, and 2.) I do not have to create one single TextBox but something between 2 and 100 of them. I can of course create them all with the DIM command, but I'm not sure if that's the corectw way to go ?!?

Regards, Zachi :)

DSJ
July 29th, 2002, 04:04 PM
take a look at "Handles" and "AddHandler" in the help. I haven't done any of this yet, but I think your solution is there.