PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Identifier in Treeview
Identifier in Treeview
Started by Leon Backes, May, 01 2003 3:56 PM - 1 reply
Connect yourself…
Leon Backes
#1
Posted on May, 01 2003 - 3:56 PM
Is it possible to read out the identifier of an element in a treeview without
making the selection on its path. This because there are more elements with
the same path
Regards,
Leon
Report
0
0
Simon Grantham
#2
Posted on May, 16 2003 - 8:13 PM
I've written an set of class objects relating to tree controls and had similar
problems. The only way to access a particular node is by its display name
which is unfortunate if you have duplicates. One possible work around (maybe)
relies on the fact that the tree view won't be updated while your code is
executing. Use the TreeGiveChild to iterate through the duplicate names,
and change each one to some temporary unique name. After you change each
one, you can look to see if it has the right identifier. If so, do your
thing to it and then change the names back. Good Luck
"Leon Backes" <backes@ilc-europe.nl> wrote:
Is it possible to read out the identifier of an element in a treeview without
making the selection on its path. This because there are more elements with
the same path
Regards,
Leon
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text