Hi Pachuquin,
thanks for your reply.I got it to work now.
1.
Quote:
|
Note: As in this example, Event Name is not quoted and can't be a variable.
|
This does not seem to matter, i use this with quotes since a long time.I works with and without quotes.I took the quotes from a code example and then never thought about again.
2. The control itself is called "CheckBox8" in the Designer.As for the AddEvent, it does not matter if "CheckBox8" or "checkbox8" is used.Even something like "CHecKBox8" is gonna work.
3. I use a centralized event manager by pointing all added events to this one sub.In the sub, a select..case construction is used to select what an event is gonna do.In opposition to the AddEvent the control's name sent to the action sub is always in lower case !
==> Hence when i tried to catch it with Case "CheckBox8" : my sub it got never triggered, because the control's name that is being sent is "checkbox8".
After correcting the case to all lower case, it is working now as expected.
This is very confusing und inconsistent...
Nevertheless i thank you because you pointed me in the right direction...
regards,
TWELVE