G
Guest
I have a form where I have 112 (!) labels where I want the same snippet of
code to run when the label is clicked. (It does some format stuff to the
label.) I have it working OK, but I have several pages of almost-identical
code as a result, with the only difference being the label name. Can anyone
suggest a way to streamline this, as in "any time ANY of this group of
controls is clicked, do THIS to it?" I've been scratching my head for a
couple days now but no inspiration has come.
code to run when the label is clicked. (It does some format stuff to the
label.) I have it working OK, but I have several pages of almost-identical
code as a result, with the only difference being the label name. Can anyone
suggest a way to streamline this, as in "any time ANY of this group of
controls is clicked, do THIS to it?" I've been scratching my head for a
couple days now but no inspiration has come.