Jeff Steinkamp schreef:
----- Original Message ----- From: "Vincent Snijders" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 10, 2007 00:58
Subject: Re: [lazarus] Tmemo DblClickand OnChange Events


Jeff Steinkamp schreef:
I have exposed the DblClick property for the Tmemo component in the stdctls.pp
file and recompile Lazarus  I have assigned a procedure to the property in the
forms OnCreate event.

      memo1.OnDblClick := @Memo1DblClick;

I does not fire with the standard double click of the mouse.  However, it will
eventually fire with about 5 or 6 very rapid clicks of the mouse.  Is there
somesort of double click sensitivity parameter that can be set to eliminate this?

The onchange event never fires when the text property is changed or text is added
to the control.

I've tried to use the TsynMemo component, but the OnChange event has a similar
problem.  it fires, but prior to the text property changing.
What OS en widgetset do you use?

Vincent


GTK on Linux.

All I can say is that it works under windows using Lazarus 0.9.23. It has the double click event also in the object inspector.

I've tried to use GTK2, but get an error message telling me that it
can not find interfaces.



See http://wiki.lazarus.freepascal.org/Lazarus_Faq#.22Cannot_find_Unit_interfaces.22._How_can_I_solve_this.3F

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to