Bob,
>Been there, done that. lEnabled is set to True. I have a breakpoint set on
>
>IF This.lEnabled
>
>but I never get to the break point.
Do you get the error before the breakpoint is hit? At what point do you get the error? The stack trace would be helpful in determining what's going on here.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com