at least for those of us who do I/O screens: you have a big bunch of buttons to control outputs. The button event should do the exact same thing (turn on an output on the motion controller / PLC / whatever); the only thing that changes is the output bit number.
VB6 Control Arrays work quite nicely for this, but the BCB/Delphi VCL wire many controls to one event handler approach also works well.
The even better approach, which I currently use in Tkinter, is to create all the controls from a mini-database (MetaKit) so adding another output or input is simply a matter of adding another line to the database. That's much better than futzing around with VB GUI screen designer. Still, all the Tkinter output buttons use a common command handler.
Tony