This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
Alejandro  
#1 Posted : Monday, June 16, 2008 1:06:33 AM(UTC)
Alejandro

Rank: Newbie

Groups: Guest
Joined: 5/28/2008(UTC)
Posts: 6

May be it 's easy but I can not find how to set the column size in the thumbnaillistview and also hidden the filename; I just want thumbnails very near one to each other as with a datagrid control.

Thanks.

Alex Kon  
#2 Posted : Monday, June 16, 2008 7:48:48 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Guest
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello Alejandro,

Add the following code to the initialization of your form (_tl is an instance of the ThumbnailListView control):

Code:
_tl.IconSpacing = new System.Drawing.Point(104, 104);  
_tl.IconicViewTextInfoId = 100; //some senseless value for default
                                //implementation

To get appearance like on the screenshot:

Edited by user Monday, June 16, 2008 7:57:16 PM(UTC)  | Reason: Not specified

Alex Kon attached the following image(s):
ThumbList.jpg
Alejandro  
#3 Posted : Monday, June 16, 2008 10:05:16 PM(UTC)
Alejandro

Rank: Newbie

Groups: Guest
Joined: 5/28/2008(UTC)
Posts: 6

Thanks so much, it works fine ;)
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.