XForms: Nothing Happens

Marcelo Guerreiro da Silva (mgs@caa.uff.br)
Wed, 16 Dec 1998 11:12:20 -0200

# To subscribers of the xforms list from mgs@caa.uff.br (Marcelo Guerreiro da Silva) :

Dear Steve,

I'm not sure if I'm doing the right thing. When I run that, nothing happens. So, look my very simple example. The archive " teste.c ":
------------------------------------------------------------
/* Form definition file generated with fdesign. */

#include "forms.h"
#include <stdlib.h>
#include "teste.h"

FD_MARFORM1 *create_form_MARFORM1(void)
{
FL_OBJECT *obj;
FD_MARFORM1 *fdui = (FD_MARFORM1 *) fl_calloc(1, sizeof(*fdui));

fdui->MARFORM1 = fl_bgn_form(FL_NO_BOX, 320, 250);
obj = fl_add_box(FL_UP_BOX,0,0,320,250,"");
obj = fl_add_button(FL_NORMAL_BUTTON,130,180,60,30,"Button");
obj = fl_add_box(FL_UP_BOX,100,90,120,70,"");
fl_end_form();

fdui->MARFORM1->fdui = fdui;

return fdui;
}

main()
{
FD_MARFORM1 *create_form_MARFORM1(void);
}

/*---------------------------------------*/

_________________________________________________
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/