Translations:Macros/Draw/001/9/en

    From The Document Foundation Wiki

    From this we can trace the Label property of the button and find loop through the layer to see if we find an object of the same name. Another option is to use the Tag property to store the name of the layer in question.