Re: Xforms: Tooltips and slider question

2002-09-10 Thread Angus Leeming
On Tuesday 10 September 2002 1:30 pm, Rob Lahaye wrote: > Angus Leeming wrote: > > You need to add a method to frontends/Toolbar.h: > > I leave that up to others (you?), who know better what they > are doing here. Why not just try the prescription? I'm pretty sure it'll work. As Jean-Marc says,

Re: Xforms: Tooltips and slider question

2002-09-10 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I shan't be doing much with LyX in the next few weeks as I'm Angus> off to your fine country for a wee while Good luck. JMarc

Re: Xforms: Tooltips and slider question

2002-09-10 Thread Rob Lahaye
Angus Leeming wrote: > > You need to add a method to frontends/Toolbar.h: > I leave that up to others (you?), who know better what they are doing here. > ...and why should Start/Stop reset the tooltips? Anyway, > whatever. Ah, that's one of John's GUI beauties! The Spellingchecker's Start/St

Re: Xforms: Tooltips and slider question

2002-09-10 Thread Angus Leeming
On Tuesday 10 September 2002 1:13 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Sure. This used to work, but it looks like the code has > been Angus> removed. In itself, this isn't surprising as the > bit of code Angus> was neded to work ar

Re: Xforms: Tooltips and slider question

2002-09-10 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Sure. This used to work, but it looks like the code has been Angus> removed. In itself, this isn't surprising as the bit of code Angus> was neded to work around an xforms bug and therefore isn't Angus> obvious to others. No, the c

Re: Xforms: Tooltips and slider question

2002-09-10 Thread Angus Leeming
On Tuesday 10 September 2002 2:21 am, R. Lahaye wrote: > Angus Leeming wrote: > > On Monday 09 September 2002 2:27 pm, R. Lahaye wrote: > >>No, doesn't help. Problem remains. > > > > I'm surprised, since Tooltips::set() fills the xforms > > tooltip from the map. What happens if you toggle the > >

Re: Xforms: Tooltips and slider question

2002-09-10 Thread Angus Leeming
On Tuesday 10 September 2002 12:26 pm, Asger Kunuk Alstrup Nielsen wrote: > On Mon, 9 Sep 2002, R. Lahaye wrote: > > I need to overwrite a tooltip string, because some > > buttons swap their purpose upon activation (e.g. "Go to" in > > Cross-Reference dialog, and "Start" in Spellchecker dialo

Re: Xforms: Tooltips and slider question

2002-09-10 Thread Asger Kunuk Alstrup Nielsen
On Mon, 9 Sep 2002, R. Lahaye wrote: > I need to overwrite a tooltip string, because some buttons swap their > purpose upon activation (e.g. "Go to" in Cross-Reference dialog, and > "Start" in Spellchecker dialog). What you could maybe do instead is to use two different buttons on to

Re: Xforms: Tooltips and slider question

2002-09-09 Thread R. Lahaye
Angus Leeming wrote: > On Monday 09 September 2002 2:27 pm, R. Lahaye wrote: > >> >>No, doesn't help. Problem remains. > > I'm surprised, since Tooltips::set() fills the xforms tooltip > from the map. What happens if you toggle the tooltips off and > then on again. Is the thing reset? > > Jus

Re: Xforms: Tooltips and slider question

2002-09-09 Thread Angus Leeming
On Monday 09 September 2002 2:27 pm, R. Lahaye wrote: > > void Tooltips::init(FL_OBJECT * ob, string const & tip) > > { > > lyx::Assert(ob && ob->form); > > tooltipsMap[ob] = formatted(trim(tip), 400); > > } > > No, doesn't help. Problem remains. Somehow Tooltips disables > overwriting an

Re: Xforms: Tooltips and slider question

2002-09-09 Thread R. Lahaye
Angus Leeming wrote: > On Monday 09 September 2002 13:18, R. Lahaye wrote: > >>Hi, >> >>1) Tooltips: >>I need to overwrite a tooltip string, because some buttons >>swap their purpose upon activation (e.g. "Go to" in >>Cross-Reference dialog, and "Start" in Spellchecker dialog). >> >>Howev

Re: Xforms: Tooltips and slider question

2002-09-09 Thread Angus Leeming
On Monday 09 September 2002 13:18, R. Lahaye wrote: > Hi, > > 1) Tooltips: > I need to overwrite a tooltip string, because some buttons > swap their purpose upon activation (e.g. "Go to" in > Cross-Reference dialog, and "Start" in Spellchecker dialog). > > However, when I call again to ove

Xforms: Tooltips and slider question

2002-09-09 Thread R. Lahaye
Hi, 1) Tooltips: I need to overwrite a tooltip string, because some buttons swap their purpose upon activation (e.g. "Go to" in Cross-Reference dialog, and "Start" in Spellchecker dialog). However, when I call again to overwrite, for example: tooltips().init(dialog_->b