Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Начинающим";
Текущий архив: 2006.11.05;
Скачать: [xml.tar.bz2];

Вниз

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;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.037 c
15-1160733102
Elen
2006-10-13 13:51
2006.11.05
Математический Вопрос


2-1161085423
L15
2006-10-17 15:43
2006.11.05
Создание Теста на Делфи


6-1146778260
Sergio77
2006-05-05 01:31
2006.11.05
данные от сервера INDY всем клиентам INDY


2-1161067677
morda
2006-10-17 10:47
2006.11.05
MySQL


2-1161333538
vigo_
2006-10-20 12:38
2006.11.05
последовательность





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский