devxlogo

Numeric Strings As Keys In A Treeview Control

Numeric Strings As Keys In A Treeview Control

To use numeric strings as keys in a treeview control, the keys mustbe strings containing a non-numeric character, not just digits. A handyworkaround is to append the string “_” to the end of the stringof digits, which you can now use as a key. Append to the end because youcan use the Val() function to get the numeric value back out without doingany parsing.

devx-admin

Share the Post: