Home
Top.Mail.Ru Yandeks.Metrika
Forum: "System";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

Displaying an already created (Create) component on another form Find similar branches


PONTIY   (2001-09-27 09:18) [0]

We continue to create objects :)
From the form Form1 (Unit1), which contains the component, for example Edit1, we create the second form Form2 (Unit2). Is it possible on the newly created form Form2 to display the component Edit1 (in a disabled form) belonging to Form1 from Unit1? Both forms are active at the same time.
Simplified listing:
Unit1:
.
type
TForm1 = class (TMForm);
.
Edit1: TEdit;
.
implementation
.
Form2: = TForm2.Create (Self);
.

Unit2:
.
type
TForm2 = class (TParentForm);
.



serg   (2001-09-27 10:50) [1]

Edit1.Parent: = Form2



PONTIY   (2001-09-27 11:44) [2]

serg, thanks!



Pages: 1 whole branch

Forum: "System";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top





Memory: 0.54 MB
Time: 0.021 c
6-22309
Dense
2001-10-10 19:02
2002.01.08
There is a NETWORK CARD without a passport, sealed up!


7-22424
Nik
2001-09-21 14:30
2002.01.08
When installing Pro, you give errors on drive C


3-21972
Wetnose
2001-12-06 08:30
2002.01.08
FIBs + & Generators


6-22315
Marser
2001-08-01 16:04
2002.01.08
SMS message


4-22483
Stropal
2001-11-03 10:57
2002.01.08
Fukntion parameters





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 ภาษาไทย turkish Ukrainian urdu Tiếng Việt 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
English French German Italian Portuguese Russian Spanish