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.029 c
14-22402
Darker
2001-11-08 12:26
2002.01.08
Looking for a man with a nickname


14-22398
Jey
2001-11-10 18:55
2002.01.08
Here here it is an IRC client to do ....


1-22148
Delphimun
2001-12-20 12:10
2002.01.08
How to send a message to the system that a key is pressed?


6-22271
Victor
2001-10-04 20:15
2002.01.08
there was no remote connection during the connection ????


1-22158
Praco
2001-12-20 16:29
2002.01.08
TCustomGrid and all its descendants ...





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