VB.NET

I have a statusbar with three panels.

When the user make a doubleclick on panel1 I want make some action.

How to determine on which panel the user makes the doubleclick inside the
statusbar ?
Panel1 or panel2 or panel3 ?


Peter

Re: Statusbar, a doubleClick , how to get the panel ? by Vijayakrishna

Vijayakrishna
Wed Mar 16 04:58:09 CST 2005

Try this:

Add a single event handler for the DoubleClick event of all the panels.
Check the sender property for the event sender object. (Cast the sender to
Panel and compare with the name, tag or something...)

Thanks,
Vijaya Krishna P.

"Peter Stojkovic" <Peter.Stojkovic@gmx.net> wrote in message
news:O3RIbkWKFHA.244@TK2MSFTNGP12.phx.gbl...
> VB.NET
>
> I have a statusbar with three panels.
>
> When the user make a doubleclick on panel1 I want make some action.
>
> How to determine on which panel the user makes the doubleclick inside the
> statusbar ?
> Panel1 or panel2 or panel3 ?
>
>
> Peter
>
>



Re: Statusbar, a doubleClick , how to get the panel ? by BinXing

BinXing
Thu May 12 14:31:15 CDT 2005

Hi Pondala,

I have the same question as what Peter had. As far as I know, StatusBarPanel
doesn't support any event handler except "Dispose" event. That means you
can't add a DoubleClick event to StatusBarPanel. Is there any idea?

Peter, did you find the solution for it?

Regards,

Bin