Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Capabilities of Visual Foxp --> Visual Basic
Message
De
13/08/2002 19:39:22
 
 
À
13/08/2002 19:09:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00689372
Message ID:
00689374
Vues:
21
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform