VBA Style - automatic Function Generator for possible Events
Posted: Wed Jan 23, 2013 1:47 pm
Would be cool if there would be a list of all possible events attached to every gadget
(like in VBA) and with a single button click the function will be pre-written in the
Event-File (based on the Button's Name - like in VBA, too).
Example:
Button1_LeftClick()
Button1_RightClick()
If the Button Name is changed to "MyButton" it would be:
MyButton_LeftClick()
MyButton_RightClick()
In VBA 2010 it's a dropdown-list.
In older Versions, there was a table with a button behind every possible event -
I think that was a better handling.
In a second row there could be the possibilty to add parameters to the function, if necessary.
The Event-Handling should be automaticly written in the GUI-File (like it is now).
Thanx.
(like in VBA) and with a single button click the function will be pre-written in the
Event-File (based on the Button's Name - like in VBA, too).
Example:
Button1_LeftClick()
Button1_RightClick()
If the Button Name is changed to "MyButton" it would be:
MyButton_LeftClick()
MyButton_RightClick()
In VBA 2010 it's a dropdown-list.
In older Versions, there was a table with a button behind every possible event -
I think that was a better handling.
In a second row there could be the possibilty to add parameters to the function, if necessary.
The Event-Handling should be automaticly written in the GUI-File (like it is now).
Thanx.