[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:

>
> On 27/9/24 7:21 pm, Bruce Steers wrote:
>
> You can get buttons as objects with hidden method TabPanel._GetButton()
>
> Ie...
>
> Dim hObs As Observer
> hObs = New Observer(TabPanel1._GetButton(0)) As "TabButton"
>
> Public Sub TabPanel_MouseUp()
>
> Debug "Got MouseUp On The Panel"
>
> End
>
> Hope that helps :)
> BruceS
>
> 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
>

Just a check, you didn't change the TabPanel into a TabStrip did you?
Just it's odd you didn't get it to work !?

Respects
BruceS

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>