Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding programmatically ActiveX
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Adding programmatically ActiveX
Divers
Thread ID:
01022560
Message ID:
01022560
Vues:
73
(This thread is refresh to #1021828 )

You can add activeX with ADD OBJECT or ADDOBJECT():
Addobject(AddObject("olListv","olecontrol","MSComctlLib.TreeCtrl.2")
OR
DEFINE CLASS Form1 AS FORM
  TOP = 10
  LEFT = 10

  ADD OBJECT olListv AS MyOleAdd

ENDDEFINE

DEFINE CLASS MyOleAdd AS olecontrol
  TOP = 15
  LEFT = 15
  OleClass = "MSComctlLib.TreeCtrl.2"

ENDDEFINE
Is there any trick to read OleClass property value from the SCX or VCX?
(f.ex. solution scx record nro 20 OleClass = MSComctlLib.TreeCtrl.2 and
record nro 21 OleClass = MSComctlLib.ImageListCtrl.2)

AT
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform