Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding programmatically ActiveX
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Adding programmatically ActiveX
Miscellaneous
Thread ID:
01022560
Message ID:
01022560
Views:
74
(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
Next
Reply
Map
View

Click here to load this message in the networking platform