# To subscribers of the xforms list from Angus Leeming <a.leeming@ic.ac.uk> :
Apologies for the intemperate title.
I have a fix for the tooltip never disappearing:
// This should be in forms.h but isn't
extern void fl_hide_tooltip();
void exit_cb(FL_OBJECT * ob, long data)
{
fl_hide_tooltip();
fl_hide_form(ob->form);
}
So, should fl_hide_tooltip() be declared in forms.h or should
fl_hide_form() just call it anyway?
Regards,
Angus
On Wednesday 02 October 2002 7:00 pm, Angus Leeming wrote:
> Dear Steve et al.,
>
> attached is a sample piece of code that demonstrates two bugs
> with the current implementation of tooltips when used with
> tabfolders.
>
> Run the code and two little windows will pop up, one lying on
> top of the other.
>
> Move the mouse over the "Press me!" button on the topmost form
> and a tooltip is displayed. Super.
>
> Moving this form aside to display the other, move your mouse
> over the two "Press me!" buttons in turn.
>
> BUG 1. The position of the tooltip for the form just moved has
> not been updated.
>
> With the mouse over the "Press me!" button close the form
> using the Alt-E shortcut.
>
> BUG 2. The form disappears but the tooltip remains.
>
> BUG 1 is a direct result of the x,y coords of the FL_FORM
> holding the tabbed folder are not updated when the window is
> moved.
>
> Now we've moved to Open Source real fixes should be possible,
> but temporary work arounds would be nice too ;-) Any ideas?
>
> Angus
>
> ps, this code was compiled with RC5 and
> gcc -I/usr/local/include -o tooltip tooltip.c -L/usr/local/lib
> -lforms -lm
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Thu Oct 03 2002 - 06:32:21 EDT