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

Down

How to create a TFrame child instance dynamically Find similar branches


Гарик   (2001-12-19 11:08) [0]

There are 2 panels - one navigation, the other information.
On the navigation panel there are buttons, when clicked, I would like to create a corresponding frame on another panel.

when trying to do it in the vlob:
procedure Tform1.tbToolingClick (Sender: TObject);
begin
frame1: = TFrame1.Create (Panel1);
end;

nothing appears on the panel1.
in the debugger of the frame1 property showing for some reason False.



Eduard   (2001-12-19 11:43) [1]

Frame1.Parent: = Panel1; Frame1.Visible: = True;



Гарик   (2001-12-19 12:30) [2]

Naturally, Visible = true



Eduard   (2001-12-19 12:33) [3]

In short:

procedure Tform1.tbToolingClick (Sender: TObject); var Frame1: TFrame; begin Frame1: = TFrame.Create (nil); Frame1.Parent: = Panel1; Frame1.Left: = ... Frame1.Top: = ... Frame1.Visible: = True end;

and what does not appear?



Eduard   (2001-12-19 12:59) [4]

Sorry, not TFrame, but TFrame1



Гарик   (2001-12-19 13:00) [5]

appears :)



Pages: 1 whole branch

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

Top









Memory: 0.82 MB
Time: 0.038 c
3-21906
Yuri Zhukov
2001-11-21 09:40
2002.01.08
Oracle ADO vs DOA - fido7.ru.delphi.db


4-22511
Plug & play
2001-10-29 22:23
2002.01.08
And how to programmatically turn off the computer?


1-22056
Delphimun
2001-12-15 13:11
2002.01.08
How to create a resource using brcc32.exe?


3-21963
szap
2001-12-05 11:53
2002.01.08
Speed


3-21924
Andrei
2001-12-04 14:37
2002.01.08
DbLookUpComboBox





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 Español 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
English French German Italian Portuguese Russian Spanish