D
Dennis Snelgrove
I've got a number of forms that are very dense with controls, so I made a
simple routine ("BackColours") that changes the backcolor of the currently
active control to Yellow to make it easy for the encoders to see where they
are. It also runs through all the controls and resets all others to a White
background. I need this routine to run on the GotFocus event of each
control, but there's go to be an easier way than to have 25 different events
all with the same subroutine call. Since we don't have a Control Array
available to us, can anyone make a suggestion to get this to work without
the 25 Event Procedures that I currently have to use?
Thanks...
Dennis
simple routine ("BackColours") that changes the backcolor of the currently
active control to Yellow to make it easy for the encoders to see where they
are. It also runs through all the controls and resets all others to a White
background. I need this routine to run on the GotFocus event of each
control, but there's go to be an easier way than to have 25 different events
all with the same subroutine call. Since we don't have a Control Array
available to us, can anyone make a suggestion to get this to work without
the 25 Event Procedures that I currently have to use?
Thanks...
Dennis