Главная страница
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.032 c
15-1160592277
DillerXX
2006-10-11 22:44
2006.11.05
Haskell Haskell Haskell !!!


4-1150724006
novill
2006-06-19 17:33
2006.11.05
Заняты ли "горячие клавиши"? Или получить список активных?


4-1150539613
SamProf
2006-06-17 14:20
2006.11.05
Как получить результат функции ZwQueryDirectoryFile


8-1143743821
Malik
2006-03-30 22:37
2006.11.05
Быстрый запуск MP3


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