Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Capabilities of Visual Foxp --> Visual Basic
Message
From
13/08/2002 19:39:22
 
 
To
13/08/2002 19:09:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00689372
Message ID:
00689374
Views:
22
Hi All,
>
>I'm currently retraining in E-commerce taking Visual Basic 6. My Instructor keeps insisting that Visual Basic is miles ahead of Visual Foxpro and will remain that way. From what I've seen todate Visual Basic wants to hide everything properties/methods/events from developers and only expose what they want. Does Visual Foxpro have the same capabilites and taking a step back first, why is it such a big deal to hide things in the first place ?
>
>thanks,
>
>Don



Hi Don,

Wow, miles ahead? Really? Humm... I'm sure the more qualified people in VB vs. VFP will reply as well, but as far as hiding properties and methods, sure. The visibility can be set as PUBLIC, PROTECTED or HIDDEN. See the help under DEFINE CLASS and "Protection and Hiding of Class Members" for details. For visual classes, when using the class or form designer, go to the menu\Class\Edit Property/Method, select the property or method and chose the visibilty desired via the dropdown to the right. We can even create _access and _assign methods. :)


- Brian


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Previous
Reply
Map
View

Click here to load this message in the networking platform