Tabpanel - hovering over tab

Is there a way to determine which tab on a multi-tab panel the cursor is on without clicking on it? I want to put up a tooltip that has info on the particular page (more than the tab’s caption) without the user having to select the tab itself.

Not in native Xojo, as far as I can tell.
If you should be on macOS, you could use the MouseMove event and declare into tabViewItemAtPoint: to get the tab the mouse is currently over, replacing the tooltip of the control if necessary.
For Windows and Linux, I have no clue.

Windows only I’m afraid, it’s was similar to a demo I wrote for Don here to stop tabs being clicked on.

https://blog.samphire.net/private/xojo/forum/examples/TCM_HITTEST2.xojo_binary_project

1 Like

Thanks. I’ll take a look at it.

(Edit: about an hour has passed) Yep, that’ll do it.

2 Likes