Recent

Author Topic: Free Item positioning in TListview ?  (Read 3844 times)

Jacksonson

  • Newbie
  • Posts: 1
Free Item positioning in TListview ?
« on: January 29, 2011, 12:14:59 am »
Hello,

I'm looking for a possibility to manually arrange icons within a Tlistview. For my little application (which is part of my diploma thesis) it's an absolut 'must have' to beeing able to set individual positions for every single icon.

Doing some internet research I found out that setting Listview-property VIEWSTYLE := VSICON should do it! But the free positioning of icons only works that way under MS Vista :o

Trying to set Icon positions via statement Item.Position:=Point(x,y) doesn't have any effect under Linux!

Does anybody know the reason for that? Is there a known workaround for this issue? Or maybe an other component which is able to do the item positioning? I saw that nautilus file browser does it exactly the way I need it!
 
Please help me :'(

Jens
« Last Edit: January 29, 2011, 12:21:25 am by Jacksonson »

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2680
Re: Free Item positioning in TListview ?
« Reply #1 on: January 30, 2011, 07:12:14 pm »
Trying to set Icon positions via statement Item.Position:=Point(x,y) doesn't have any effect under Linux!

Does anybody know the reason for that?
probably not implemented.

Quote
Is there a known workaround for this issue?

implement yourself :)

Quote
Or maybe an other component which is able to do the item positioning? I saw that nautilus file browser does it exactly the way I need it!
 
Please help me :'(

What do you need to do with those icons ?
What about a paintbox and draw them yourself ?

//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018