برامج

Urgent [الأرشيف] - برامج نت

المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Urgent


windowsxx2001
05-20-2006, 01:39 AM
please, in vb6, how to change listview row height

سلطان زماني
05-20-2006, 12:40 PM
I think it's very simple.
You should to understand what you want to do?
If you want to change the listview items height.
You have to change the listview items font size.
However the listview items font size is read only property and we have not the permission to change it.
But we can create new object (class "Font") and set this object as property of listview control.
You should to use following code.

Font ft = new Font(listview1.Font.Name,14);
listview1.Font = ft;

"14" in this sample is the listview Items height.
that's all.