Главная страница
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.086 c
15-1160662842
GeLLeR
2006-10-12 18:20
2006.11.05
Гениальная задача


2-1161454335
Батя
2006-10-21 22:12
2006.11.05
как подсчитать весь трафик моей проги


15-1160985175
Kolan
2006-10-16 11:52
2006.11.05
Объект с разной ртруктурой..


15-1161079948
Empleado
2006-10-17 14:12
2006.11.05
Интересно, через какое время оно придет в каждый дом?


15-1161194808
yura32
2006-10-18 22:06
2006.11.05
SQL+PHP