RobotStudio event

How to disable "Disconnect library" for Smart Component?

Options
PaP
PaP
edited April 2020 in Developer Tools
Hi,
I created my own Smart Component with CodeBehind, and now i would like to "lock" it. 
Becouse, when I disconnet it, then i am able to edit inside of component (and i dont want that).
I would like to make it same as original ABB smart components, which are not possible to disconnect.

Do you have idea, how it is possible?
Thanks

Answers

  • scottdf93
    Options
    PaP said:
    Hi,
    I created my own Smart Component with CodeBehind, and now i would like to "lock" it. 
    Becouse, when I disconnet it, then i am able to edit inside of component (and i dont want that).
    I would like to make it same as original ABB smart components, which are not possible to disconnect.

    Do you have idea, how it is possible?
    Thanks
    SmartComponent smartComponent = new SmartComponent();
    smartComponent.IsEditable = false;