CustomStatement Name


how can I change the name of a CustomStatement?


Another example on the forum about CustomStatement can point you in right direction.

Try yourself by overriding the ToString() method of your custom statement object. That seems to take care of naming the statement in the Statement list of the Program Editor, whereas the Name property of the statement takes care of the Name displayed in the Statement Properties panel. Quite many exceptions are being handled in my basic test, so this is where I get off the bus.

    public override string ToString()
        return "Test";