Sorry Osvaldo, but we cannot help with your homework:
http://www.freepascal.org/faq.var#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
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