forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Table Row Height

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Tue Mar 30, 2010 1:28 pm    Post subject: Table Row Height Reply with quote

Is there a way to change the height of the row in a table in VDS? I looked at the extTable.dsu, but it does not have this feature.

Thanks

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marcelo
Contributor
Contributor


Joined: 10 May 2008
Posts: 155

PostPosted: Wed Mar 31, 2010 12:31 am    Post subject: Reply with quote

What about to put an "invisible" icon with the desired height in the table?
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed Mar 31, 2010 1:06 am    Post subject: Reply with quote

I already have icons assigned. That would not work. Thanks though.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marcelo
Contributor
Contributor


Joined: 10 May 2008
Posts: 155

PostPosted: Wed Mar 31, 2010 12:29 pm    Post subject: Reply with quote

I have a table with 32x32 icons on it and works fine. I 've tried with higher ones and works too but i dont know if this is what you are looking for.
Sorry.

Marcelo
Back to top
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sun Apr 04, 2010 3:42 pm    Post subject: Reply with quote

LiquidCode,

What exactly are you trying to do?

Is the height of the icons you're using different than the row height you want?

Your row height is dependent on the image height of the assigned imagelist.
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sun Apr 04, 2010 8:30 pm    Post subject: Reply with quote

In the help it says that only a 16x16 icon can be used. I have icons, but how do I know if the icon has a 32x32 image in it? Can i use the index number of an icon in a table? How do I find what index number the 32x32 icon is if there is one in the ico file?

A lot of questions, eh? LOL Smile

Thanks!

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marcelo
Contributor
Contributor


Joined: 10 May 2008
Posts: 155

PostPosted: Sun Apr 04, 2010 11:13 pm    Post subject: Reply with quote

Actually i'm using this code to put icons in a table with my desired size. The icon height determines the row height.

Code:

%%T1 = @SENDMSG(@WINEXISTS(~Table1),@SUM($1000,2),1,0)
Loadlib comctl32.dll
%x = @lib(comctl32.dll,ImageList_SetIconSize,BOOL:,%%T1,32,32)
Freelib comctl32.dll


You can replace "32,32" with your desired width and heigth and put icon with this size in your table.
I hope this work for you.

Marcelo
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sun Apr 04, 2010 11:17 pm    Post subject: Reply with quote

Cool! I'll give that a try.

Thanks!!

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sun Apr 04, 2010 11:23 pm    Post subject: Reply with quote

Just tried it. Didn't work. After using it, all the icons disappeared.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marcelo
Contributor
Contributor


Joined: 10 May 2008
Posts: 155

PostPosted: Sun Apr 04, 2010 11:26 pm    Post subject: Reply with quote

your icon must be the same size you defined in the code, sometimes disappear if isn't the correct size.
Try resizing your icons with a graphic tool.
Sorry for my english, sometimes it's too difficult to me to say what i try to say... Wink
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sun Apr 04, 2010 11:39 pm    Post subject: Reply with quote

Ok, I'll try that. No problem about your English. Smile
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marcelo
Contributor
Contributor


Joined: 10 May 2008
Posts: 155

PostPosted: Mon Apr 05, 2010 2:23 pm    Post subject: Reply with quote

I forgot something, i'm using with this example BMPs instead of ICOSs.
Try this with BMPs with your desired size...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group