Hello Everybody!

I'm trying to catch the entering event (when the control becomes active in a form) of an hScrollBar. It would be used for an undo/redo process, and whenever I click on it, or just tabbing to it or anything else, the enter event won't fire. Anybody got some idea why this (doesn't) happens? Or is there a similar event exists, which I can catch? I've tried it on a range of controls, and with everything else, it works perfectly well.

Thanks in advance!

Recommended Answers

All 2 Replies

If you set TabStop to true, it should work for you. I believe that scrolls bars are generally not selectable.

Thank you very much!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.