Tark221
Registered User.
- Local time
- Today, 23:11
- Joined
- Oct 12, 2012
- Messages
- 74
Hi all,
I have a query about writing code for form controls which don't exist yet.
I have code which dynamically creates buttons when a form loads based on different criteria, I need to write code for those buttons. I've tried creating sub procedures with the name of the control but when the form loads and the buttons are created the procedure I wrote won't work, it's like there not linking properly.
Is there a way to assign a macro to a button when it's created.
Any help would be much appreciated
Thanks
I have a query about writing code for form controls which don't exist yet.
I have code which dynamically creates buttons when a form loads based on different criteria, I need to write code for those buttons. I've tried creating sub procedures with the name of the control but when the form loads and the buttons are created the procedure I wrote won't work, it's like there not linking properly.
Is there a way to assign a macro to a button when it's created.
Any help would be much appreciated
Thanks