[fpc-pascal] GUI application sample for windows and linux

David Emerson dle3ab at angelbase.com
Wed Aug 6 02:32:15 CEST 2008

Sorry Osvaldo, but we cannot help with your homework:


The advice I would give any person who actually needs to create a form 
with a button is to use fpgui or lazarus or msegui. If you like 
textmode, you could use freevision.

If you could come up with a compelling technical reason why none of the 
(excellent) existing solutions work, then it might be appropriate to 
engage in a discussion. However "it's prohibited for the assignment" is 
not a technical reason, it's an administrative one ;) thus it's outside 
the domain of reasonable topics for this mailing list.

You might want to have a look at the graph unit, and/or the gdi32 and 
x11 stuff which AFAIK are used for windows/*nix cross-platform 
libraries like fpgui and msegui. Happily I have never had to examine 
that stuff because I use fpgui to make forms and buttons.

Good luck with your class, though.


On Tuesday 05 August 2008 6:51 am, Osvaldo Filho wrote:
> Hi, i need a sample of an application with this:
> One form
> One button with an event, the event: showmessage('Hello, my name
> is: '+ button.name)
> The application to be need cross plataform for windows and linux and
> not use gtk, gtk2, qt or fpGui.
> No lazarus code, please.
> This application is for an exemple in a course of programming.
> Thanks very much.
> PS: Sorry my english.

More information about the fpc-pascal mailing list