Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrolling a disabled treeview
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00911474
Message ID:
00912087
Vues:
19
I suspected and re-learned that myself:-)

I tried to suggest a transparent form (a form will cover an OCX) with transparency set to zero. It could be anchored and sized over the treeview. This will work! Some titlebar-less dimensionless transparent form might do the trick.

It would be a toplevel form - so it would offset to the top and left of the actual-treeview-form to accomodate form movement. And,me thinks, it would have to be an OS 5 and (maybe) VFP 8 to use the transparent form feature.

I have not [yet] tried a transparent ole container!:)
NODEFAULT seems not to have effect inside OCX events too!
>Terry,
>
>This ain't going to help, the activeX is in it's own window and we can't put a VFP object over the top of it no matter how hard you Zorder it.
>
>>>Does anyone know if there's a way to prevent the user from moving off of the current node in a treeview, yet still be able to scroll? I've currently got the treeview disabled, but that prevents them from scrolling up to see what the parent node is. The treeview doesn't have a ReadOnly property.
>>
>>I tried to cover a treeview with a shape - it did not work. I got Enabled=.F. to work by including the 'OBJECT' prescedent.
>>
>>If your using VFP 8 - maybe an alwaysontop transparent form anchored (docked) over the tree view (yet exposing the scroll bars) will do it. If you don't post back with a eureka - I will explore it a bit further after I get back to the shop!
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform