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.81 MB
Time: 0.033 c
1-22140
Serg5
2001-12-20 10:17
2002.01.08
The question of whether it is possible to reduce the font to 4 pixels, it changes, it changes (the program does not swear), but on the screen (Canvas.Font) it still displays 8 (the most minimal)


1-22063
based on
2001-12-18 15:12
2002.01.08
And you can block access to the folder, something like fmShareExclusive, but for the folder ???


4-22472
Eugene
2001-10-27 17:03
2002.01.08
How to make your little proxy server?


3-21928
kaif
2001-12-04 17:42
2002.01.08
arithmetic overflow or string truncation with Restore


1-22020
Leo ^ Sun
2001-12-18 07:08
2002.01.08
Tmemo





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