Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX Controls vs. VFP Controls
Message
De
16/07/2002 12:51:04
 
 
À
16/07/2002 10:34:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00679085
Message ID:
00679198
Vues:
46
>Obviously a poor example. Sorry for the second slip Sergey :-)
>
>Lets try an ActiveX listview versus the ListBox in VFP. The question is, why would I use ActiveX controls instead of native VFP Controls if both were available?


As always, it depends...
If the VFP object or component does what I need, then I prefer to use it. It's native, generally faster and a lot easier to implement.

When would I use ActiveX? When there is no VFP equivalent (TreeView, DateTime Picker and assorted Calendar controls). Another reason might be when VFP lacks a certain functionality that an ActiveX supplies (some grids for example, or maybe some of the excellent BB controls from Bela Bodecs).

Another reason might be that you (or your client) wants a more "standard" Windows look. Some ActiveX may be needed so it will look exactly as another app they may have (maybe in VB or VC++). The look is similar cause you would use the same control. For example, you could GetDir() in VFP or you could use the ActiveX Common Dialog Controls for that standard look.

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform