Re: XForms: drawing on my canvas with the mouse

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 18 Feb 98 17:30:19 PST

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

> No matter what type of label assignment I choose in formdesigner, I get a
> Xforms ERROR: Bad Allignment Request...

Does this error occur at run time or when you're running `fdesign'?

> aside from this, I am having trouble understanding your readout function..
> could you explain it a little?

It uses stdarg variable argument lists. Think of it as an fprintf()
that writes to an object label.

Refer to the manual pages for a description of the vsprintf()
function and the use of the va_start(), va_arg(), and va_end()
macros. Any good basic C programming text should also cover the use
of these macros.

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://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/