Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hidden Method Question
Message
From
29/11/2001 20:22:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00587667
Message ID:
00587793
Views:
40
Kevin,

I just sent you a version that delegates hotTrack to a class that is stored in a program file. Without decompilation, the developer won't know what function does the hottrack. In the init() of each button:
this.newobject("oButtonTracker","buttonTracker","fp_controlBar.fxp","",this)
You would distrubute fp_controlBar.fxp, which does not have the source code in it. In case you didn't know, here is how to remove code from the VCX.
* do this on a copy of your VCX!
use fp_controlbar.vcx
replace methods with "" all
use
Does this get you closer to what you want?


>Like I said, this is a developer control.
>
>If I make the HotTrack method public, and the user drops the
>control onto a form, then overwrites the HotTrack method, it
>would no longer function like it should. Unless, of course,
>the developer put a DODEFAULT() in the hot track.
>
>The issue is this; The developer(s) using this control have no reason
>to even know about this method. I'm just trying to call it from various
>places throughout the class.
>
>So how do I create a hidden method that can be called from multiple
>objects on a container?
>
>Thanks
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform