[lazarus] Problem

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jun 11 12:34:17 EDT 2002


On Fri, 7 Jun 2002 19:02:09 +0200
"Andrea Lai TIN" <lai.andrea at virgilio.it> wrote:

> I have another problem.
> 
> I have create a simple project that have one form and one button that when I
> click on the button the program must be display me a message using the
> MessageDlg procedure.
> [...]
> Than I compile a program, but when I run it and I click the button no
> message is display me.

The steps works for me. 
But form editing is under construction. Perhaps u got a cvs snapshot, where some things didn't work. Does your unit1.lfm file looks like:

object Form1: TForm1
  CAPTION = 'Form1'
  COLOR = -2147483633
  CLIENTHEIGHT = 300
  CLIENTWIDTH = 400
  LEFT = 291
  HEIGHT = 300
  TOP = 167
  WIDTH = 400
  object Button1: TBUTTON
    CAPTION = 'Button1'
    FONT.CHARSET = 1
    FONT.COLOR = -2147483640
    FONT.NAME = 'default'
    ONCLICK = Button1CLICK
    LEFT = 98
    HEIGHT = 25
    TOP = 119
    WIDTH = 75
  end
end

?

Mattias






More information about the Lazarus mailing list