Re: XForms: positioner

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 1 Apr 98 10:49:43 PST

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

> I know how to set the positioner values.. but how bout the crosshair? I
> want to make a center button which sets the x and y values to 0, but I
> also want to center the crosshair.. any ideas?

I'm not sure I understand the question. Using the function
fl_set_positioner_[xy]value() should allow you to place the crosshair
anywhere you wish. You may need to manipulate the bounds with
fl_set_positioner_[xy]bounds to make the crosshair appear in the
center. Doing so should be trivial.

Refer to the manual for the details.

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/