Hide Layer does not hide controls (buttons, lists, etc. )

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello clickers.

    In a Fusion 2.5 project I need to show and hide certain layers, say for instance a multiplayer menu, which contains active objects, buttons and lists. Now, when I want to hide the whole layer using the Layer Object, it indeed hides the layer ( all the active objects disappear) but all the controls, such buttons, lists, etc. do remain visibile.

    A workaround is to hide each of them, or group them with a qualifier and hide the qualifier(s), but I wonder if I'm missing something obvious here by using the layer object.

    Any help/suggestion is appreciated.

    Thanks for your attention and have a nice day

    Sergio

  • yeah it does make sure on the layer arent untitled for just set to the name you want the drop a event pressing on that event go the layer obj then go the following: layers>by name>visiblity >hide >"the name you set it too between the brackets!!"


    i hope this helps, and Goodluck.

  • I think this is not a bug, rather a feature:


    Important Note:
    The current version of the Layer object doesn't affect the objects that are displayed in their own window (like Button objects, Edit Box objects, Sub-Application objects, etc.). These objects are always displayed in front of the other objects and cannot be moved, shown or hidden by the actions that move, show or hide a layer, or that change the order of the objects.

  • Well, it's not really a feature, but just that most objects ask the runtime to draw them, but window controls are drawn by OS, so runtime doesn't handle if they're drawn or not. You can hide/show manually with actions, though, which tell the OS about it.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • As Phi said, also, any time you do UI, make your own custom components, this can be done with the help of multiple object like Active, Active System Box, Strings..etc
    Example: Please login to see this link.

    Game/App developer, artist and a community contributor.
    You can support my work on: Please login to see this link.

  • As Phi said, also, any time you do UI, make your own custom components, this can be done with the help of multiple object like Active, Active System Box, Strings..etc
    Example: Please login to see this link.

    Yes I agree, this is the way to go. And since custom controls are usually made with active objects, they desappear/show nicely with the layer hide/show commands.

    Perhaps also using object behaviours would help.

    Thank you for the useful comments :)

    Take care

    Sergio

Participate now!

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