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

Down

How to iterate root nodes in TTreeView? Find similar branches


ikar   (2001-12-21 09:10) [0]

It is necessary to sort out only those that are at the root, or at least identify this node at the root or not.



Praco   (2001-12-21 09:21) [1]

for i: = 0 to TreeView1.Items.Count - 1 do
if TreeView1.Items [i] .Level = 0 then
ShowMessage ("Root");



McSimm   (2001-12-21 10:42) [2]

You can not go through the whole tree, but take the first element and go through its fellows:
N: = Items [0]
while Assigned (N) do
begin
ShowMessage (N.Text);
N: = N.GetNextSibling
end



Pages: 1 whole branch

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

Top





Memory: 0.54 MB
Time: 0.125 c
6:22299
Leviathan
2001-10-11 21:58
2002.01.08
Error Handling TClientSocket


1:22246
Andrey196
2001-12-16 22:03
2002.01.08
How to create a color cursor in Borland Image editor


4:22477
Type
2001-10-31 12:17
2002.01.08
How to see all the processes running all the programs?


1:22244
Socol
2001-12-15 15:42
2002.01.08
Download file!


6:22306
Maamed
2001-10-09 12:57
2002.01.08
The activation of the old window of the program is running 2-oh time!





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