Page 1 of 1

VBA Style - automatic Function Generator for possible Events

Posted: Wed Jan 23, 2013 1:47 pm
by K.puts
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.

Re: VBA Style - automatic Function Generator for possible Ev

Posted: Wed Jan 23, 2013 1:48 pm
by MachineCode
+1