Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BINDEVENT Problem
Message
 
To
27/03/2007 15:06:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01208571
Message ID:
01210227
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform