fl_load_browser()

Robert J. Nield (ceerjn@cee.hw.ac.uk)
Wed, 26 Feb 1997 15:30:26 +0000 (GMT)

To subscribers of the xforms list from "Robert J. Nield" <ceerjn@cee.hw.ac.uk> :

Sorry to pester you again today, but I'm having a bit a trouble.

I am attempting to load up a text file to a normal browser from the
callback file.

When I click a button (that is not related to the browser) I wish the
callback to be triggered so as to load up the file in the browser.

How do you refernece the structure in the .h file, I must be doing
something wrong as it keeps dumping core.

**** code frag xx.h **

typefed struct{
FL_FORM *sect2;
FL_OBJECT *ciphertext;
FL_OBJECT *encrypt;
void *vdata;
long ldata;
} FD_sect2;

** end code frag **

**** code frag xx.c ****
fdui->ciphertext = obj =
fl_add_browser(FL_NORMAL_BROWSER,110,220,680,120,"");

** end code frag **

**** code graf xx_cb.c ****

void encrypt_cb(FL_OBJECT *ob,long data)
{
FD_sect2 *ui;