I'm looking for the most efficient way to ensure the user hasn't
entered to add or edit a node in a treeview component a name already being
used by another node in the same level. Basically there is a non-editable
root node under which the user can add as many child nodes as wanted, and
under each child node as many children and so on. So whatever level the
user has selected when adding or editing I have to prevent them from
entering a name equal to any other with the same parent. I've tried a
couple things but my experience with treeviews isn't a lot and I know there
must be an easy way to handle this.
from Robert Meek dba Tangentals Design CCopyright 2006
Proud to be a moderator of "The Delphi Lists" at elists.org
"When I examine myself and my methods of thought, I come to the conclusion
that the gift of Fantasy has meant more to me then my talent for absorbing
positive knowledge!"
Albert Einstein
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi