G
Guest
How do I forward a mouse wheel event (or create one) for a textbox in C#?
I have a textbox that is within a tab page. The textbox is read-only and we
don't want to focus on the textbox because the cursor shows up, so we set the
focus on the tab page it is on. I can catch the MouseWheel event on the tab
page, but have no idea how to pass this on to the textbox to process.
As a side note, the text we are displaying contains tabs and newlines, so a
label doesn't work for us. Any help would be appreciated. Thanks!
I have a textbox that is within a tab page. The textbox is read-only and we
don't want to focus on the textbox because the cursor shows up, so we set the
focus on the tab page it is on. I can catch the MouseWheel event on the tab
page, but have no idea how to pass this on to the textbox to process.
As a side note, the text we are displaying contains tabs and newlines, so a
label doesn't work for us. Any help would be appreciated. Thanks!