View Single Post
 
Old 06-04-2014, 02:27 AM
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

Quote:
You can make it so that you only need one class for multiple control types. You do this by having one of each control type in the events Class module (all declared "WithEvents") and using TypeName and a Select Case statement for the Let and Get on the control property of the events Class.
Great! I did not even consider one class and Select Case instead of creating another class (what I did). Why not

(Programmer's) Life Can Be So Easy ....

Cheers
NP
Reply With Quote