Graeme Geldenhuys wrote:
When I run my application which has two TListView component on it,
with no data - it just displays the form, I get loads of warning
messages to the console!!!  Using GTK1 under Linux. Lazarus 0.9.23
r11312.

Am I supposed to start worrying, or can I ignore these for now.???  =)
How can I suppress these message if I have to create a release build
of my application?

---------------  CUT ---------------------
[WARNING] ColumnSetMinWidth called without handle for ListView2(TListView)
[WARNING] ColumnSetWidth called without handle for ListView2(TListView)
[WARNING] ColumnSetImage called without handle for ListView2(TListView)
[WARNING] ColumnSetVisible called without handle for ListView2(TListView)
[WARNING] ColumnInsert called without handle for ListView2(TListView)
[WARNING] ColumnSetAlignment called without handle for ListView2(TListView)
[WARNING] ColumnSetAutoSize called without handle for ListView2(TListView)
[WARNING] ColumnSetCaption called without handle for ListView2(TListView)
[WARNING] ColumnSetMaxWidth called without handle for ListView2(TListView)
[WARNING] ColumnSetMinWidth called without handle for ListView2(TListView)
[WARNING] ColumnSetWidth called without handle for ListView2(TListView)
[WARNING] ColumnSetImage called without handle for ListView2(TListView)
[WARNING] ColumnSetVisible called without handle for ListView2(TListView)
----------------  END  -------------------

I think this is connected to the bug I reported at 
ttp://www.freepascal.org/mantis/view.php?id=8794. The bug of duplicate columns 
has been fixed, but IIRC it was not not done in a way that actually prevents 
these messages from appearing (the fix was to destroy previously created 
columns whenever a request is made to create them; see rev. 11056).

Note that the cause of these messages is explained in the bug report 
description.

Maybe one of the developers should look at the issue again.

Regards,

Bram

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

Reply via email to