Button > open/close layer [1.17.4]

  • Hello everyone!
    I'm trying to develop a standalone optimized button to open/close various layers on my projects.
    Here is the piece of code for a layer containig a floorplan:

    The code seems to works fine but I would like to ask you for any suggestion on this regard (better ways / code optimization /...) - I'm working with the 1.17.4 release...
    Thanks in advance & best, DL

  • Thanks Klaus,

    I would like to know if the code is clean and/or if there is a better way to do the same thing maximizing the compatibility with devices/os/...

    Best regards,
    DL

  • Thanks Klaus,

    something that 'will work everywhere without any problem' is exactly what I'm looking for.
    I'm going to check the tooltips example you suggested... *wink*

    All the best,
    DL

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!