Resizing listbox items in .Net
-
Hallo I can't seem to change the ItemHeight property of my listboxes in C#. The property isn't readonly but if I try to change it in the properties pane in VS 2005 or even in my code they just stay the same. Am I missing something really obvious here?:doh:
There are 10 types of people in the world, those who understand binary and those who dont.
-
Hallo I can't seem to change the ItemHeight property of my listboxes in C#. The property isn't readonly but if I try to change it in the properties pane in VS 2005 or even in my code they just stay the same. Am I missing something really obvious here?:doh:
There are 10 types of people in the world, those who understand binary and those who dont.
You need to set the DrawMode property to OwnerDrawVariable.
-
You need to set the DrawMode property to OwnerDrawVariable.