Re: XForms: cursor

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 25 Nov 98 08:36:01 PST

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I've got a problem with the fl_set_cursor(fl_form->wondow,XC_watch)
> function...
>
> the first time i call it, it doesn't work, the cursor doesn't change
> anyway.
>
> but the second time it seems to work fine...

fl_set_cursor() just sets an internal variable but does not inform the
server of the change.

The workaround is

fl_set_cursor( fl_form->window, XC_watch );
fl_check_forms();

This notifies the server appropriately.

Same goes for fl_reset_cursor().

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/