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.085 c
1-22215
VovaKomarov
2001-12-16 13:36
2002.01.08
client update


1-22247
as
2001-12-17 11:29
2002.01.08
Help someone can .....


1-22143
[NWC] Eminem
2001-12-20 12:04
2002.01.08
.dcu


14-22338
Dima-k17
2001-11-05 10:57
2002.01.08
Os petros


1-22250
Dmitry D.
2001-12-17 13:28
2002.01.08
Rather a mathematical question ...





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