Компьютерный форум NoWa.cc

Компьютерный форум NoWa.cc (https://nowa.cc/index.php)
-   Delphi (https://nowa.cc/forumdisplay.php?f=300)
-   -   QuantumGrid6 и его Bands (https://nowa.cc/showthread.php?t=149570)

Shadow82 05.03.2008 09:33

QuantumGrid6 и его Bands
 
Как сделать эти самые бэнды многострочными. Чтоб если текст не помещается он переносился на другую строку

Semen_SR 21.05.2008 10:55

Ответ: QuantumGrid6 и его Bands
 
Есть свойство BandHeaderHeight, по умолчанию оно 0 если поставить его к примеру 38 то будет две строки

minimus 21.05.2008 13:47

Ответ: QuantumGrid6 и его Bands
 
Цитата:

Сообщение от Shadow82 (Сообщение 1511713)
Как сделать эти самые бэнды многострочными. Чтоб если текст не помещается он переносился на другую строку

Из help'а:
для заголовков:

TcxGridTableOptionsView.HeaderAutoHeight

Автовысота заголовков

Determines whether the column header's height changes to display the full caption text.

Syntax

property HeaderAutoHeight: Boolean;

Description

Use the HeaderAutoHeight property to determine whether the column header's height is automatically increased to display the entire caption.


The default value of the HeaderAutoHeight property is False.

для ячеек:

Determines whether the height of item cells is automatically changed to display their contents in full.

TcxCustomGridTableOptionsView.CellAutoHeight

Автовысота ячеек

Syntax

property CellAutoHeight: Boolean;

Description

If the widths of the view's columns are insufficient to display their entire content, then text clipping occurs. Use the CellAutoHeight property to prevent this. If this property value is True, then the cell content is displayed in multiple lines where necessary.

By default all grid rows have the same height.

Note that a grid which uses the image combo box control as an in-place editor is a special case. The CellAutoHeight property has no effect on calculating the height of this editor since its height is determined by the height of the image displayed within the editor's edit region. The list of images that are available for displaying within the editor is accessible via the editor's Properties.Images property. As a result, the height of the editor (actually, the height of the images) also affects the minimal value of the DataRowHeight property so the image isn't displayed clipped.


The default value of the CellAutoHeight property is False.

Дерзайте - я думаю, это именно то, что Вам надо. :hehe:


Текущее время: 00:52. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2026, vBulletin Solutions, Inc. Перевод: zCarot
Copyright ©2004 - 2026 NoWa.cc

Время генерации страницы 0.02031 секунды с 9 запросами