Classes

Member variable XbpActiveXControl():server Foundation

The instance variable :server contains the name of the server that is to be used for creating an ActiveX control.

Attribute: EXPORTED
Data type: CHARACTER (NIL)
Description

For creating an ActiveX control hosted by a remote computer, the remote computer's name must be assigned to the instance variable :server before method :create() is called to create an XbpActiveXControl. the COM server hosting the control runs on the local computer, this should be left at its default value (NIL.)

oCtrl         := XbpActiveXControl():new( oDlg:drawingArea,{10,250},{100,80} ) 
oCtrl:CLSID   := "MyControl.1" 
oCtrl:server  := "\\MyServer" 
oCtrl:license := "adföljwerrrr" 
oCtrl:create() 

See AutomationObject:create() for further information on creating COM/ActiveX components.

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.