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 ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user