Re: Text wrapping code?

Tue, 03 Dec 96 15:13:01 EST

To subscribers of the xforms list from Eric_Kischell@IUS5.IUS.CS.CMU.EDU :

Has anyone got the text-wrapping feature of
of the XFWP free widget replacement XForms Library to work?

Any experiences would be appreciated.

Here are the calls that I use:

// create_form_XFWPForm()
fdui->XFWPText = obj = fl_add_transtext( FL_NORMAL_TEXT, 190, 10, 80, 40, "");
// other form stuff
// end form def

int main(int argc, char *argv[])
char message[256];
int screenlines;
float xx, yy, ww, hh;

fl_initialize(&argc, argv, "XFWP", 0, 0);
form = create_form_XFWPForm();

fl_show_form(form->XFWPForm, FL_PLACE_FREE, FL_FULLBORDER, "XFWP Test");

sprintf( message, "Test wrap feature here here here." );
calc_textarea(form->XFWPText, &xx, &yy, &ww, &hh, &screenlines);
draw_text(form->XFWPText, message, xx, yy, ww);


return 0;


> From: Ken Hollis <>
> >See /cgi-bin/exit-to? :) (I've already got a working browser
> done.)
> I tried to take a look at your page, but wasn't succesful. Both
> mosaic and netscape had some activities downloading data, but returned
> empty page.
Try ftp, it works.


To unsubscribe, send the message "unsubscribe" to or see