fl_show_form in callback file

Robert J. Nield (ceerjn@cee.hw.ac.uk)
Thu, 23 Jan 1997 10:20:06 +0000 (GMT)

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

I have taken out the 'fl_do_forms();'

But It dumps core when the callback button is pressed!

Below is the code from the callback file produced by 'fdesign' with three
lines of added code by myself.

Is there anything else I need to just fire up a screen from this callback?

void main_history(FL_OBJECT *ob, long data)
{
FD_history_yn *fd_history_yn; // copied from x_main.c to define
// to define history_yn.

fl_show_form(fd_history_yn->history_yn,FL_PLACE_CENTER,FL_FULLBORDER,"X");
}

Thanks for any help.

Rob Nield.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Robert J.Nield ~
~ -------------- ~
~ Telephone / answer machine: +44(0)131 449-8323 ~
~ Home page at http://www.cee.hw.ac.uk/~ceerjn ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html