View Full Version : VB6 Events
mdmackillop
11-11-2010, 01:23 PM
Is there an equivalent to Application.EnableEvents in VB6. Can't find one in the Help file.
Bob Phillips
11-12-2010, 03:10 PM
Which events are you truying to suppress MD?
mdmackillop
11-12-2010, 03:32 PM
I've a form with 5 list boxes to give a multi column display. As I click on one, I want to highlight across the row. I need to suppress the Click event for the other listboxes.
I've made a workaround setting a flag to false and exiting the events accordingly, but not very elegant!
Bob Phillips
11-12-2010, 04:22 PM
I think that is the only way, certainly the only way I know of. It is exactly what hyou would do for a VBA userform, those events don't get covered by the EnabvleEvents setting.
mdmackillop
11-12-2010, 05:30 PM
OK,
Thanks Bob.
Andy Pope
11-15-2010, 08:07 AM
What's the reason for 5 listboxes instead of 1 control with 5 columns?
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.