Главная страница
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.061 c
2-1161340156
Gloomer
2006-10-20 14:29
2006.11.05
Как узнать текущий часовой пояс, установленный на компьютере


15-1160834854
Длинный логин не получился:(
2006-10-14 18:07
2006.11.05
О хамстве и мате ...


2-1161617796
mahab
2006-10-23 19:36
2006.11.05
jpeg


8-1131126689
Dozer
2005-11-04 20:51
2006.11.05
Алгоритм сжатия звука AMR


15-1160758042
Chort
2006-10-13 20:47
2006.11.05
каким образом можно создать файл .chm или .hlp