[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TabPanel Click event (or workaround) wanted


On Fri, 27 Sept 2024 at 11:19, BB <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 Static

So I would have thought that trying TabPanel._GetButton(0) statically
should raise a "not a Static function" error

Is 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

Follow-Ups:
Re: TabPanel Click event (or workaround) wantedBB <adamnt42@xxxxxxxxx>
References:
TabPanel Click event (or workaround) wantedBB <adamnt42@xxxxxxxxx>
Re: TabPanel Click event (or workaround) wantedBruce Steers <bsteers4@xxxxxxxxx>
Re: TabPanel Click event (or workaround) wantedBB <adamnt42@xxxxxxxxx>