[Gambas-user] Two suggestions about TabPanel + 2 more
Benoît Minisini
gambas at ...1...
Mon Jan 20 20:33:04 CET 2014
Le 20/01/2014 00:43, Bruce a écrit :
> 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
>
In revision #6091, focus is not stolen anymore.
--
Benoît Minisini
More information about the User
mailing list