pushme.pp 688 B

1234567891011121314151617181920212223242526272829
  1. Program pushme;
  2. uses xforms;
  3. var simpleform : PFL_FORM;
  4. { formname,buttonname : string;
  5. }
  6. begin
  7. fl_initialize(@argc, argv, 'FormDemo', nil, 0);
  8. simpleform := fl_bgn_form(FL_UP_BOX,230,160);
  9. fl_add_button(FL_NORMAL_BUTTON,40,50,150,60,'Pushme');
  10. fl_end_form;
  11. fl_show_form(simpleform, FL_PLACE_MOUSE, FL_NOBORDER, 'Push me');
  12. fl_do_forms;
  13. fl_hide_form(simpleform);
  14. end.
  15. {
  16. $Log$
  17. Revision 1.3 2003-10-27 15:48:13 peter
  18. * renamed forms unit to xforms to prevent conflict with Forms
  19. from the LCL
  20. Revision 1.2 2002/09/07 15:42:57 peter
  21. * old logs removed and tabs fixed
  22. Revision 1.1 2002/01/29 17:55:02 peter
  23. * splitted to base and extra
  24. }