Mattias Gaertner wrote:

On Mon, 13 Mar 2006 21:24:16 +0100
darekm <[EMAIL PROTECTED]> wrote:

Attached patch cause that OnSelChange for tComboBox is fired only one time per click

beside I enable some of trace event
Darek

You added again the lines:

    If (Lines <> nil) and (NumLines>1) then begin

Why? It returns wrong values for NumLines<=1.
Wrong is when:
  Flags= WordBreak and CalcRect
that can be change to
If (Lines <> nil) and ((NumLines>1) or CalcRect or ((Flags and DT_WordBreak)=DT_WordBreak ))then begin

But if You not agree that You may throw up this change (should I prepare new patch)

Darek






Mattias

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



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

Reply via email to