Вниз
Скачать: CL | DM;

TListView. Columns не меняет ширину при изменении текста   Найти похожие ветки 

 
MishaL   (2006-10-25 22:18) [0]

TListView. Columns  AutoSize=True не меняет ширину в соответствии с отражаемым текстом
MaxWidth=1000 MinWidth=100
что надо настроить?
заранее спасибо


 
Palladin ©   (2006-10-26 06:49) [1]

ничего, обрабатывать изменение текста и выставлять ширину колонки нужно в ручную


 
MetalFan ©   (2006-10-26 09:16) [2]

CommCtrl
The ListView_SetColumnWidth macro changes the width of a column in report or list view. You can use this macro or explicitly send the LVM_SETCOLUMNWIDTH message.

BOOL ListView_SetColumnWidth(

   HWND hwnd,  
   int iCol,  
   int cx
  );


Parameters

hwnd

Handle to the list view control.

iCol

Index of the column. In list view, the iCol parameter must be -1.

cx

New width of the column, in list view coordinates, or one of the following values:

Value Meaning
LVSCW_AUTOSIZE Automatically sizes the column.
LVSCW_AUTOSIZE_USEHEADER Automatically sizes the column to fit the header text.


может поможет?



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.028 c
2-1163427573
Darvin
2006-11-13 17:19
2006.12.03
Работа со StringGrid


15-1163596447
novill
2006-11-15 16:14
2006.12.03
Кто-нибудь пользуется Castalia 4.2?


2-1163669091
Tor
2006-11-16 12:24
2006.12.03
Перевод значения Variant в Extended если значение равно Null


2-1163798829
frameZ
2006-11-18 00:27
2006.12.03
BDE


15-1163145976
oxffff
2006-11-10 11:06
2006.12.03
Так ли нужны шаблоны в Object Pascal.




   Наверх