1
Reply

How find Pixels

Abdul Asif

Abdul Asif

Nov 21 2007 10:40 AM
3.5k

Hi All,

I am adding a string value to listbox control. I need to set the width of listbox in runtime base on how many pixels string need it to display it within listbox. Idea is to set a width of listbox exactly the number of pixels required by string value. So, I can have perfect width each time base on string value.
Any idea please help.

Thanks,

Asif.


Answers (1)
Next Recommended Forum