Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview.object.selecteditem GPFs
Message
From
25/08/1998 15:39:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00129281
Message ID:
00129838
Views:
24
>>this.object.nodeclick(this.object.selectednode)
>
>No such thing as SelectedNode. It's SelectedItem... Something needs to be
>selected too - if not it should return NULL.
>
>+++ Rick ---

Yup - corrected in the meantime and got it to work. Still, sometimes things that should be .null. (mouse move over no node) return numbers instead. Well, some extra cases to take care off. I'll work it out tomorrow, had enough for today :) (still on vacation)

It's probably the debugger which is not informed well of which properties in a TreeView actually exist - it lists in the locals window everything you mention in code (even mistypes like this). I've also seen things becoming visible in the Locals window as soon as they're mentioned in code, but not before. Don't know it this holds for TreeView, M$'s ActiveX Controls, or ActiveX controls in general, but actually makes the debugger (VFP 5.0, no patches) half-blind.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform