This method of the ActiveXControl Class tells the ActiveX control to go into design mode.
public void setDesignMode(boolean b);
b | The value that indicates whether the control should be notified that it is in design mode. If the value is true, the control is notified that the container is in design mode. If the value is false (the default), the container notifies the control that it is in run mode. |