# To subscribers of the xforms list from Angus Leeming <a.leeming@ic.ac.uk> :
On Friday 11 October 2002 4:34 pm, Manuel Maria Diaz Gomez wrote:
> # To subscribers of the xforms list from Manuel Maria Diaz
> Gomez <Manuel.Maria.Diaz.Gomez@cern.ch> :
>
>
> Hi all,
>
> I am a newby with xforms, and maybe this question sounds a bit
> silly; nevertheless here I go.
>
> How could I display the output of e.g. printf("Hello world!");
> into an object. Should this object be a browser or a canvas?
Here's one way:
char s[BUFSIZE];
sprintf(s, "Hello world!");
FL_OBJECT * ob =
fl_add_text(FL_NORMAL_TEXT, 390, 20, 85, 20, s);
Angus
_________________________________________________
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 : Fri Oct 11 2002 - 12:47:15 EDT