Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: Treeview key is invalid for some value
Message
 
To
01/09/2003 10:58:17
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00825036
Message ID:
00825085
Views:
21
>Thanks Alexander.
>
>If it is a behaviour, why invalid keys change on Treeview version ?
>
>Example:
>
> .Add(,,'1'+BINTOC(0),..)
>* on version VS6 SP4 on W2K italian it is not invalid
>* on version VS6 SP6 on WXP italian it is invalid
>
>
>Why it is a variant if i can write only a string ?
>
>Fabio

As Alexander suggested, treeview has issues with a number in the first position of the key, so a subtle change like:
 .Add(,,'_1'+BINTOC(0),..) && Will make it work in any language
* Who knows - you mave have developed the next great "killer" app. and will
* need to modify it to work for all languages. In that case, although
* the "Whys" as to a numeric TV key not being invalid in some SPs are
* a topic of interest, the fact remains that TV does not work well with 
* numerals as a first character.

*  on version VS6 SP4 on W2K italian it is not invalid
* on version VS6 SP6 on WXP italian it is invalid
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform