XForms: Addressing Input Field

John Culleton (john@ccpl.carr.lib.md.us)
Wed, 16 Dec 1998 20:46:02 -0500

# To subscribers of the xforms list from John Culleton <john@ccpl.carr.lib.md.us> :

Assume a simple form called foo created by fdesign with a single input
field called bar. I want to insert a value into the field from the
c-language program (specifically from a callback routine, not
necessarily the one for that field.)

How do I address the field? Is it ui->bar or fdui->bar or fd_foo->bar
or what? The examples don't seem to deal with the simple situation of
moving data to an input field from a callback situation. I want to use a
statement like:

fl_set_input(xxx->bar, stringvalue);

I just need to know what to use in place of xxx, given a form named foo
and a field named bar. Please remember that I am using the output from
fdesign (all three source modules) so its naming conventions are in
force.

Thanks for any help. I know I'm stupid - if I were smart I wouldn't need
to ask the question.

-- 
John R. Culleton, Jr.  john@ccpl.carr.org
Sykesville, MD 21784 U. S. A.
(410) 795-1159
 Please visit: http://www.carr.lib.md.us/~john/index.htm
_________________________________________________
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/