[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TabPanel Click event (or workaround) wanted
[Thread Prev] | [Thread Next]
- Subject: Re: TabPanel Click event (or workaround) wanted
- From: BB <adamnt42@xxxxxxxxx>
- Date: Fri, 27 Sep 2024 20:41:30 +0930
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 27/9/24 8:28 pm, Bruce Steers wrote:
On Fri, 27 Sept 2024 at 11:19, BB <adamnt42@xxxxxxxxx <mailto:adamnt42@xxxxxxxxx>> wrote:No joy. TabPanel1._GetButton(0) gives an Unknown Symbol error. I tried with TabPanel1.TabPanel._GetButton(0) and that eliminates the error but TabButton_MouseUp handler doesn't get invoke. 🙁 b Hmm, that's pretty odd, TabPanel,_GetButton() is not even StaticSo I would have thought that trying TabPanel._GetButton(0) statically should raise a "not a Static function" errorIs it a customized TabPanel.class ?TabPanel1._GetButton(0).Children[0] works a treat here for events (plus as a DrawingArea we have _Draw event) :) TabPanel1._GetButton(0) works for _TabPanel_Button.class properties :)Respects BruceS
Have you got a little demo for this?I'm not trying to use it statically, its TabPanel*1*._GetButton(0) (and I cant see how that could work, there may be multiple TabPanels in the main form.)
No, its a pure and simple QT5 TabPanel. more follows b
Re: TabPanel Click event (or workaround) wanted | Bruce Steers <bsteers4@xxxxxxxxx> |
TabPanel Click event (or workaround) wanted | BB <adamnt42@xxxxxxxxx> |
Re: TabPanel Click event (or workaround) wanted | Bruce Steers <bsteers4@xxxxxxxxx> |
Re: TabPanel Click event (or workaround) wanted | BB <adamnt42@xxxxxxxxx> |
Re: TabPanel Click event (or workaround) wanted | Bruce Steers <bsteers4@xxxxxxxxx> |