[Gambas-user] Two suggestions about TabPanel + 2 more

Bruce bbruen at ...2308...
Mon Jan 20 00:43:07 CET 2014


On Sun, 2014-01-19 at 23:13 +0100, Benoît Minisini wrote:
> Le 18/01/2014 23:01, Bruce a écrit :
> >
> > 3) You cannot set accelerator keys for TabPanel tab titles like you can
> > for TabStrips
> 
> I'm afraid it is not easy to implement...
Oh well, never mind. (It was just an observation)

> 
> >
> > 4) Mousewheel scrolling through TabPanel tabs only works when the
> > TabPanel itself has the focus. (TabStrip scrolling happens when the
> > mouse is over the tabstrip tab area, i.e. it doesn't need to have focus.
> > This is really handy.)
> 
> I don't understand: it works perfectly there, with gb.qt4, gb.gtk or 
> gb.gtk3.
> 
hmmm, You are right. Don't know why I thought it... ah wait a moment, it
steals the focus whereas wheeling over the tabstrip doesn't. I have
attached a (badly put together) example of this.

1. Go to the Bhab tab
2. Set focus on Textbox10
3. Use mousewheel to roll through the tabs and back to Bhab => focus is
still on Textbox 10
4. Go to CHab tab
5. Set focus on the yellow text box. (This might explain a bit better:
the Users focus is also on the yellow box, he want to scroll through the
"sub" information on the Tabstrip2 tabstrip but still is maintaining the
yellow box text. Using the mousewheel he can roll through the sub
information pages without the cursor moving out of the yellow box.)
6 Go to the Dhab tab, here we have the tabpanel.
7. Set focus on the orange text box
8. Mouse wheel over the tabpanel => focus on the orange box is lost!

regards
B



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3LNav-0.0.1.tar.gz
Type: application/x-compressed-tar
Size: 5808 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20140120/b7c76842/attachment.bin>


More information about the User mailing list