| View previous topic :: View next topic |
| Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Tue Mar 30, 2010 1:28 pm Post subject: Table Row Height |
|
|
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 |
|
 |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Wed Mar 31, 2010 12:31 am Post subject: |
|
|
| What about to put an "invisible" icon with the desired height in the table? |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Wed Mar 31, 2010 1:06 am Post subject: |
|
|
I already have icons assigned. That would not work. Thanks though. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Wed Mar 31, 2010 12:29 pm Post subject: |
|
|
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 |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sun Apr 04, 2010 3:42 pm Post subject: |
|
|
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 |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sun Apr 04, 2010 8:30 pm Post subject: |
|
|
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
Thanks! _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Sun Apr 04, 2010 11:13 pm Post subject: |
|
|
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 |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sun Apr 04, 2010 11:17 pm Post subject: |
|
|
Cool! I'll give that a try.
Thanks!! _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sun Apr 04, 2010 11:23 pm Post subject: |
|
|
Just tried it. Didn't work. After using it, all the icons disappeared. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Sun Apr 04, 2010 11:26 pm Post subject: |
|
|
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...  |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sun Apr 04, 2010 11:39 pm Post subject: |
|
|
Ok, I'll try that. No problem about your English.  _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
marcelo Contributor


Joined: 10 May 2008 Posts: 155
|
Posted: Mon Apr 05, 2010 2:23 pm Post subject: |
|
|
I forgot something, i'm using with this example BMPs instead of ICOSs.
Try this with BMPs with your desired size... |
|
| Back to top |
|
 |
|