VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Creating controls dinamically and set events on them IN RUNTIME

by Rodrigo Martins de Siqueira Barbosa (1 Submission)
Category: Object Oriented Programming (OOP)
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

I've seen many programmers complaining about that they can create controls dinamically, but they can't seem to set events to them... with this little program now you can do it. I've done a little calculator example to show how powerful it can be. Enjoy =) (Here I'm using Ms Script control to set the events)

Assumes
The user should at least have heard about subclassing. It's no great deal, but surely will help understand the code.

Rate Creating controls dinamically and set events on them IN RUNTIME

Download Creating controls dinamically and set events on them IN RUNTIME

Download Creating controls dinamically and set events on them IN RUNTIME (7 KB)

Creating controls dinamically and set events on them IN RUNTIME Comments

No comments have been posted about Creating controls dinamically and set events on them IN RUNTIME. Why not be the first to post a comment about Creating controls dinamically and set events on them IN RUNTIME.

Post your comment

Subject:
Message:
0/1000 characters