View Single Post
 
Old 06-03-2014, 11:41 PM
NobodysPerfect NobodysPerfect is offline Windows 7 64bit Office 2010 32bit
Competent Performer
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default

Thanks for your answers. I think, the 'class & event solution' is best.

Meanwhile I found these two sites:
http://www.vb-fun.de/cgi-bin/loadfra.../tip0178.shtml
http://www.jkp-ads.com/Articles/ControlHandler00.asp

I use the code of no. 1, as I found this link first. It's written in German but keywords like 'class', module, etc.' are so obvious, you should not encounter any language problem.

The second link is in English and the author offers a bunch of really, really good tools (and explanations).

Using two classes (one for check boxes and another for option buttons) I do not need a single 'Button_Click' procedure anymore. Saves plenty of time ...

NP
Reply With Quote