Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hidden Method Question
Message
From
29/11/2001 18:49:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00587667
Message ID:
00587780
Views:
33
>What I am trying to do is this:
>
>I have a container, Cnt1, on which I dropped another
>smaller container, Cnt2.
>
>When the user moves the mouse over cnt2, I want to call a
>method on Cnt1, as in:
>
>This.Parent._HotTrack()
>

>
>Since this is a developer's control, I dont want my user's, other
>developers, to be able to see the method _HotTrack().
>
>This HAS to be possible, I just don't know how. Any ideas?

Since cnt2 or any other object can't call the hidden methods of cnt1, but it can call visible methods, you'd have to create a visible method in cnt1 which would in turn call this._hottrack:
* cnt1.DoHotTrack:
this._HotTrack
Then from cnt2 you can call
This.parent.DoHotTrack

back to same old

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

Click here to load this message in the networking platform