Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BINDEVENT Problem
Message
 
À
27/03/2007 15:06:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01208571
Message ID:
01210227
Vues:
22
I understand this now, but I'm still no closer to a solution.

If I were using VB6, I'd be talking about creating an ActiveX
control. I always thought the closest thing we have in VFP is
the Control control.

I always though that was the point of the Control control - to
package the objects you want in a custom control so that the
programmers cannot mess with them or call internal functionality.

So how do you create a control that does not expose internal
functionality to the programmers who will use it. The buttons,
textboxes and other objects on the container could be bound
to hidden methods, but there's still nothing stopping someone
from editing the control while its on a form and messing
around with it.

Anyone?





>>I found it.
>>
>>The problem is that I am using a Control control, not a Container
>>control. The objects on a Control seem to be hidden even from
>>within the class.
>
>That's actually the difference between a Control and a Container, by definition.
>
>Tamar
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