Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie from Fox, equivalent to the VFP THIS?
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00762071
Message ID:
00762314
Vues:
13
>Does this mean that to pass an object reference from within a control method I would pass the control name?


No, you would pass the control, and then, in the receiving method, refer to the object parameter name. Very similar to VFP.


>Also how does VB handle containership?
>


Very differently than VFP. You have forms, just like in VFP. And, there are some visual controls with a rudimentary hierarchy, like some of the add-on grids. But, if, for instance, you wanted to add two text boxes and two labels to a first-and-last-name control, you would need to create the control as an ActiveX component, and then map whatever internal items you would want to reference to public properties on the outermost control. Ugly stuff.

This is partly why I rarely develop front-ends in VB. I think that an awful lot of people on the UT treat VB unfairly, except when it comes to visual controls. In those cases I agree that VB feels like a word processor compared to a tool like VFP.
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform