Recent

Author Topic: WIN32:Adding columns to TListView Report (bug #449 reborn ?)  (Read 8070 times)

Zeugma

  • New Member
  • *
  • Posts: 10
WIN32:Adding columns to TListView Report (bug #449 reborn ?)
« on: December 19, 2004, 06:20:08 pm »
Even though bug 449 has been signaled as fixed, I still have a lot of problems (crashes & freezes of the IDE) when trying to add plain columns to a TListView / vsReport with the last binary (0.9.2.4).

It would be really great :wink: if you could fix that issue once and for all, because this component is very helpful when it comes to displaying results, values lists... For now I'm stuck with TMemos and aligned labels *yuck*  :(

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
WIN32:Adding columns to TListView Report (bug #449 reborn ?)
« Reply #1 on: December 20, 2004, 09:41:16 am »
If this bug has returned to you, you may enter a new bug report for it.

The communication between the LCL and the underlying widget set is being rewritten, so expect some improvement for the listview in the coming time, but I don't know if it would solve your problems.

Zeugma

  • New Member
  • *
  • Posts: 10
WIN32:Adding columns to TListView Report (bug #449 reborn ?)
« Reply #2 on: December 20, 2004, 10:14:26 am »
OK, new bug report entered.

Meanwhile, I have realized that creating my columns at runtime (not design-time) seems to work fine.
That's better than nothing, I guess :D

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
WIN32:Adding columns to TListView Report (bug #449 reborn ?)
« Reply #3 on: December 20, 2004, 10:21:22 am »
Can you give some more details? I just tried it with the cvs version (of last week) and I could add first two list columns and then insert one in the middle without crash or freeze (what happens exactly crash or freeze?).

Either this has been solved in the mean time (possible, but not likely) or I just don't do the right things to tricker this bug.

Zeugma

  • New Member
  • *
  • Posts: 10
WIN32:Adding columns to TListView Report (bug #449 reborn ?)
« Reply #4 on: December 20, 2004, 11:41:04 am »
I've compiled yesterday's snapshot, and the result is exactly the same :

- New project>Application
- Add a TListView on the main form
- Switch its style to vsReport
- Edit the TListColumns (button[...] next to Columns attribute)
- Hit [add] twice
- Hit [OK]

=> the Lazarus IDE disappears all of a sudden

I have encountered another situation where the "access violation" message box pops out before the whole program exits by itself :
- hit [add], then hit [OK] (wow, no crash :) )
- edit the columns one more time, hit [add] and hit [OK]

There is also another situation where the IDE freezes, but I can't remember what I did :p

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
WIN32:Adding columns to TListView Report (bug #449 reborn ?)
« Reply #5 on: December 20, 2004, 12:40:24 pm »
Hmm, this could be a hard bug. :-(

I tried both things and got no crash.

Zeugma

  • New Member
  • *
  • Posts: 10
WIN32:Adding columns to TListView Report (bug #449 reborn ?)
« Reply #6 on: December 20, 2004, 06:18:46 pm »
Hmm.... Let's get into the details : I run Lazarus on a Pentium IV, and I use Windows XP Home edition in French. Maybe the decimal separator can cause garbage, since we use "," instead of "." in French :/  *shrugs* Do you happen to use that ?

 

TinyPortal © 2005-2018