Re: XForms: Nothing Happens

Alberto Barsella (Alberto.Barsella@univ-lille1.fr)
Wed, 16 Dec 1998 18:56:18 +0100 (MET)

# To subscribers of the xforms list from Alberto Barsella <Alberto.Barsella@univ-lille1.fr> :

On Wed, 16 Dec 1998, Marcelo Guerreiro da Silva wrote:

[......]
>
> main()
> {
> FD_MARFORM1 *create_form_MARFORM1(void);

This just declares the a function!

You must declare a variable of the type you created:
FD_MARFORM1* my_form;

...then create it:
my_form = create_form_MARFORM1();

...then show it:
fl_show_form(my_form->MARFORM1, FL_PLACE_SIZE, FL_FULLBORDER, "My form");

...and then make sure your program doesn't quit instantly:
while (1);
> }

Hope this helps,
Alberto

--
Alberto BARSELLA
PGP fingerprint = 13 3F 22 D2 0B 0A D3 25  F1 89 FE B5 82 AD 75 2A
** "Beliefs are dangerous. Beliefs allow the mind to stop functioning.
A non-functioning mind is clinically dead. Believe in nothing..." **

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