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

Вниз

MDI-приложение: как определить активно родительское окно(дочерних ещё нет) или дочернее(тогда узнать какое)?   Найти похожие ветки 

 
Alx2   (2002-03-20 13:02) [3]

Имелось в виду TScreen.ActiveForm.
Из программы до нее достучаться можно так: Screen.ActiveForm

Вот описание TScreen.ActiveForm. (см Help)


Indicates which form currently has focus.

property ActiveForm: TForm;

Description

Read ActiveForm to learn which form in the application has input focus. If the application is not currently active, ActiveForm is the form that will have focus when the application becomes active again.

ActiveForm is a read-only property. To change the ActiveForm, use the SetFocus method of the form that should receive focus. ActiveForm will also change if the SetFocusedControl method of an inactive form is called to set focus to a control on that inactive form.

After focus shifts from one form to another, the screen receives an OnActiveFormChange event.



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

Форум: "Основная";
Текущий архив: 2002.04.01;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.44 MB
Время: 0.005 c
1-234
Kurt
2002-03-20 19:00
2002.04.01
Люди помогите плиз! Как сделать чтоб у окна был BorderStyle был bsDialog, но чтоб он имел возможность своарачиваться???


1-116
Sergy
2002-03-21 16:36
2002.04.01
Длина переменной типа string


1-94
qqshka
2002-03-21 12:36
2002.04.01
Аргументы командной строки


1-130
Zool
2002-03-21 20:46
2002.04.01
Как создать свой класс


14-292
Василий
2002-02-16 00:24
2002.04.01
Хороший водитель может и не знать о том как устроен движек, но классным гонщиком при таком подходе он ни когла не станет!!!





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
Английский Французский Немецкий Итальянский Португальский Русский Испанский