Home AMX General Discussion

Hidden buttons

Hi,
How to create a hidden buttons ??
or
How can i create a button in Programming and set a port and channel code for it?

Comments

  • HARMAN_icraigieHARMAN_icraigie Technical Trainer II, Harman Professional University Posts: 536

    Look up in AMX-PI2 for the panel command syntax - there are a few options available to show and hide a button.
    Button does need an address port and code.

  • ok .. Its there any commands for creating a button through program?

  • What is the purpose of using Passthrough Buttons? It will useful for Creating 'n' number of buttons dynamically?

  • HARMAN_icraigieHARMAN_icraigie Technical Trainer II, Harman Professional University Posts: 536

    Buttons can only be created in TP Design. Once present on a page and assigned an address port and code they can be fully manipulated short of moving between pages.

  • ok Thanks . Shall i Use ^BMF Commands To hide or unhide my Button.. It Will Work?

  • HARMAN_icraigieHARMAN_icraigie Technical Trainer II, Harman Professional University Posts: 536

    That's one option.

  • any other method is there please guide me.. What are the steps for it

  • viningvining X Member Posts: 4,365

    You can use the ^SHO command or make a multi state button where one state is fully transparent. If you make a button a 3 state multi state bar graph you can use send_level to switch between states.

    SEND_COMMAND aTP,"'^SHO-22,0'"
    SEND_COMMAND aTP,"'^SHO-1,1'"

  • richardhermanrichardherman not-so-junior member Posts: 258

    @Karthik said:
    ok Thanks . Shall i Use ^BMF Commands To hide or unhide my Button.. It Will Work?

    On G5 panels the ^BMF command is not fully functional. See : https://proforums.harman.com/amx/discussion/125062/bmf-button-command-on-g5-panel#latest

  • I am using G4 Panel

  • richardhermanrichardherman not-so-junior member Posts: 258

    @Karthik said:
    Hi,
    How to create a hidden buttons ??

    You could also create a button in TPDesign with no border and transparent fill color. It will work like any other button, you just can't see it. I use that to overlay on some graphics (like floorplans) to create touchtargets.

  • JasonSJasonS If I had known it was going to be that kind of party... Posts: 229
    > @Karthik said:
    > What is the purpose of using Passthrough Buttons? It will useful for Creating 'n' number of buttons dynamically?

    Passthru buttons are useful when layering buttons to make a more advanced button. Setting the buttons on top to passthru will allow a touch to activate the base button without there being dead spots from the buttons on top if their channel is not set or set to a different channel.
Sign In or Register to comment.