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

Down

TreeView - a couple of questions Find similar branches


greenrul   (2001-12-16 02:13) [0]

There is a TreeView, with a couple of twigs. How can I assign a number to ANY twigs of ANY twigs and calculate which number is selected for OnChange.

I just do not want to pervert, to write my own for each branch. You just need to find out which "section-string" is selected by the user, and respond to that.



greenrul   (2001-12-16 14:35) [1]

Well, help, pliz ...



maximf   (2001-12-16 16:55) [2]

More clearly need to explain what you need!
Each treeview node has an Index — a number relative to the parent and AbsoluteIndex — a number relative to the root.
In addition, the TreeView has a Data property — a Pointer type, where you can write an integer or a pointer to an object associated with a given tree node.

Best regards



greenrul   (2001-12-16 17:31) [3]

That is, each e-ta in the TreeView has its own unique number (AbsIndex)?

thanks then



Pages: 1 whole branch

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

Top





Memory: 0.55 MB
Time: 0.026 c
3-21936
ks
2001-12-05 06:42
2002.01.08
Delphi5 + SQL Server7 is fine, and Delphi5 + SQL 2000 is nonsense


1-22144
shornik
2001-12-20 11:36
2002.01.08
Masters !!!! Please help with the problem!


14-22383
Vadim
2001-11-08 11:01
2002.01.08
Programmer Forums


1-22112
greenrul
2001-12-15 13:55
2002.01.08
Prompt component Button


4-22479
VitaS
2001-11-02 21:08
2002.01.08
Help minimize my program in the system tray





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