VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Create Controls at Runtime and program their events

Amiga Blitter  (2 Submissions)   Custom Controls/Forms/Menus   Visual Basic 5.0   Advanced   Wed 3rd February 2021

OK! i will change the code comment. I don't wanna win the code contest. You must not look at the horrible graphics, but the code. How do create or clone a control? By creating a control array? By the method explained by venky dude? (good tutorial venky) This is simple a new way to create a control than can expand our knowledge of visual basic. You can create control, assign a name and code to the events in the way yo want. You can also remove the controls by it's own name (form1.controls.remove "goofy"). Try to do this in a control array!!! unload commandbutton(11). You still have 20 command button with control number 11 removed (more complicated).

Assumes
a little of experience

API Declarations
just 2 api and a couple of constants declarations

Rate Create Controls at Runtime and program their events (3(3 Vote))

Download Create Controls at Runtime and program their events

Create Controls at Runtime and program their events Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters