Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.11.05;
Скачать: CL | DM;

Вниз

MDI приложение, выравнивание дочерних окон   Найти похожие ветки 

 
Samson   (2006-10-18 14:06) [0]

Как можно выравнивать "дочерние" окна в MDI приложени ??? Слышал, что это как-то по простому делается, а не .... берешь форму 1,расчитываешь ... переносишь и т.д. ....


 
Игорь Шевченко ©   (2006-10-18 14:08) [1]

Tile, Cascade


 
Samson   (2006-10-18 14:16) [2]

???? т.е.  Title, Cascade можно подробнее


 
Samson   (2006-10-18 14:31) [3]

а ещё, напрмер горизонтальное выравнивание ????????????


 
Игорь Шевченко ©   (2006-10-18 14:56) [4]

Samson   (18.10.06 14:16) [2]


>  можно подробнее


Можно и подробнее:

TForm.Tile

Arranges MDI child forms so that they are all the same size.

procedure Tile;

Description

Use Tile to arrange MDI child forms so that they are all the same size. Tiled forms completely fill up the client area of the parent form. How the forms arrange themselves depends upon the values of their TileMode properties.

Tile works only if the form is an MDI parent form (that is, if the form’s FormStyle property is fsMDIForm).

TForm.Cascade

Arranges MDI child forms so they overlap.

procedure Cascade;

Description

Use Cascade to arrange MDI child forms so they overlap.

Cascade works only if the form is an MDI parent form (that is, if the form’s FormStyle property is fsMDIForm).


> а ещё, напрмер горизонтальное выравнивание ????????????


TCustomForm.TileMode

Represents how MDI child forms are arranged when the Tile method is called.

type TTileMode = (tbHorizontal, tbVertical);
property TileMode: TTileMode;

Description

TileMode can have one of the following TTileMode values:

Value Meaning

tbHorizontal Each form stretches across the width of the parent form
tbVertical Each form stretches along the height of the parent form

TileMode is meaningful only if the form is an MDI child (that is, if the form’s FormStyle property is set to fsMDIChild).


 
Samson   (2006-10-18 15:01) [5]

спасибо ... теперь понял :)


 
Loginov Dmitry ©   (2006-10-18 15:32) [6]

Обычно подобные действия с дочерними окнами не программируются. Все необходимое уже есть в TActionList.



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

Текущий архив: 2006.11.05;
Скачать: CL | DM;

Наверх




Память: 0.48 MB
Время: 0.068 c
10-1125549625
ALI_YES
2005-09-01 08:40
2006.11.05
COM в ручную


3-1157457783
.ruslan
2006-09-05 16:03
2006.11.05
пустая строка в DBGrid


3-1157521219
Bwa_JO
2006-09-06 09:40
2006.11.05
Помогите, плиз с кодировкой!


2-1161184511
CAH CAHbI4
2006-10-18 19:15
2006.11.05
Создание поля в TADOTable


15-1160337818
Knight
2006-10-09 00:03
2006.11.05
Подскажите... такие приборы ещё производят?