Welcome Guest Search | Active Topics | Members

Thumbnaillistview basic questions Options
Alejandro
Posted: Monday, June 16, 2008 9:06:33 AM
Rank: Newbie
Groups: Member

Joined: 5/29/2008
Posts: 4
Points: 12
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
Posted: Tuesday, June 17, 2008 3:48:48 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 1/31/2005
Posts: 388
Points: 409
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:


Alex Kon attached the following image(s):
ThumbList.jpg



Best wishes, Alex.
Alejandro
Posted: Tuesday, June 17, 2008 6:05:16 AM
Rank: Newbie
Groups: Member

Joined: 5/29/2008
Posts: 4
Points: 12
Thanks so much, it works fine ;)
Users browsing this topic
Guest


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.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.