Member variable XbpActiveXControl():CLSID Foundation

Class ID or ProgID identifying the COM/ActiveX component to connect to

Attribute: EXPORTED
Data type: CHARACTER ("")
Description

The instance variable :CLSID contains the ID of a COM/ActiveX class an application wants to obtain an instance of. The class ids of the COM/ActiveX class installed on a computer are stored in the registry.

A valid class or ProgID must be assigned to instance variable :CLSID before the method :create() is called to create an XbpActiveXControl.

// Example for using :CLSID, :license and :server for creating an ActiveX control 
oCtrl         := XbpActiveXControl():new( oDlg:drawingArea,{10,250},{100,80} ) 
oCtrl:CLSID   := "MyControl.1" 
oCtrl:server  := "\\MyServer" 
oCtrl:license := "I am a license key" 
oCtrl:create() 

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.