Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Design Question
Message
 
To
05/12/2006 12:33:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01174970
Message ID:
01174980
Views:
7
Place a textbox on a container. Make the MouseEnter of the container Protected. In the textbox's MouseEnter, put this:
LPARAMETERS nButton, nShift, nXCoord, nYCoord
This.Parent.MouseEnter(nButton, nShift, nXCoord, nYCoord)
Drop it on a form and run it. Move the mouse over the textbox.


I'm trying to prevent other programmers from putting code
in the container's MouseEnter after they drop it on a form.




>>I have a container with a textbox on it. I want the textbox to call
>>into the container, but I don't want method exposed outside the
>>container.
>>
>>If I make it hidden, the textbox cannot see it.
>>
>>Any ideas?
>
>Would "protected" instead of hidden work?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform