Re: problem with status bar
- From: gamilofpsk@xxxxxxxxx
- Date: 9 Dec 2005 04:48:19 -0800
hi friend,
i don't know how to have two label with status bar in mainframe?
can u send me code snippet for this,
or
some more explaination for this?
regards
psk
Bryan Oakley wrote:
> psk wrote:
>
> > what i want is ,when user presses the menu item and if some text is
> > there in the status, then the tool tip text should be appended with
> > that,
> >
> > can anyone help me in this regards?
> >
>
> I don't fully understand the problem, and I've never used whatever form
> of creating menus that you're using. Is that BWidgets? Regardless, I'll
> take a stab at the problem since you seem anxious to get this solved,
> judging by a followup 20 minutes later saying this was urgent.
>
> Anyway, am I correct in guessing that you have some static text that may
> appear in a statusbar, and when the mouse is over a button or menu you
> want the statusbar to show both the static text and the tooltip?
>
> The easiest way is just to create a statusbar with two labels -- one for
> the static text and one for the tooltip. Is there a reason you want a
> single variable to hold both?
>
> Another solution is to not use the tooltip variable in your statusbar;
> use some other variable for the statusbar. Place a trace on the tooltip
> variable; when it changes, concat it with whatever else you want to
> display in the statusbar and then set the statusbar variable accordingly.
.
- Follow-Ups:
- Re: problem with status bar
- From: Bryan Oakley
- Re: problem with status bar
- References:
- problem with status bar
- From: psk
- Re: problem with status bar
- From: Bryan Oakley
- problem with status bar
- Prev by Date: ISO help in probability
- Next by Date: Re: ISO help in probability
- Previous by thread: Re: problem with status bar
- Next by thread: Re: problem with status bar
- Index(es):