Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Design Question
Message
 
À
05/12/2006 12:33:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01174970
Message ID:
01174980
Vues:
8
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform