D
dhendrickson
I have a form with many many toggle buttons (200+). Each
toggle button needs to have an event run the same
function procedure. The argument for the function
procedure is the toggle button. A typical call would look
like:
On Mouse Move....... =MouseMoveText([tglH11-5])
The call as written works fine. But now I have to insert
this for each toggle button and change the argument to
reflect the associated toggle. My 200+ toggles make this
a tedious task.
Is there a sintax for the argument that will refer to the
control the event belongs to? I know you can pass a
reference to the form with the sintax [form] and not need
to specify which form. Anything like this at the control
level?
If so, I can select all of the toggle buttons and paste
the same function call at once.
Thanks.
toggle button needs to have an event run the same
function procedure. The argument for the function
procedure is the toggle button. A typical call would look
like:
On Mouse Move....... =MouseMoveText([tglH11-5])
The call as written works fine. But now I have to insert
this for each toggle button and change the argument to
reflect the associated toggle. My 200+ toggles make this
a tedious task.
Is there a sintax for the argument that will refer to the
control the event belongs to? I know you can pass a
reference to the form with the sintax [form] and not need
to specify which form. Anything like this at the control
level?
If so, I can select all of the toggle buttons and paste
the same function call at once.
Thanks.