bestbefore99
IS-IT--Management
Hello experts.
I have create programmatically a form with a lot of buttons
using CreateControl. For each button I want that when the user click on it, it changes color . I have created for all buttons (I may have up to 500 on a single form) the OnCLick function
ctl.Onclick = "=functionname()"
but my problem is to pass to the functionname which control was clicked.
Unfortunately I cannot make it working
Any suggestion?
Thanks
Max
I have create programmatically a form with a lot of buttons
using CreateControl. For each button I want that when the user click on it, it changes color . I have created for all buttons (I may have up to 500 on a single form) the OnCLick function
ctl.Onclick = "=functionname()"
but my problem is to pass to the functionname which control was clicked.
Unfortunately I cannot make it working
Any suggestion?
Thanks
Max