Facility Control

 View Only
  • 1.  Coding Simplegrids in Dashboard to control XPression GFX

    Posted 11-01-2016 18:17
    I have made a custom panel to control a Jeopardy-like game show running on an XPression box. Basically, a 25-box grid, that GFX Op pushes buttons as broadcast members select category-value pairs. This works very well. But, I want to add a second grid of buttons on the same panel, and am having trouble getting the layout to look the way I want it to.
    The problem is that the first button shows up in the space for the second button, and then all other buttons ripple on beyond that, and end up overshooting the end of the grid, adding the last button in a "wrap-around" position, effectively adding a 26th button. From looking at the code, it looks like my correctly-working button grid actually has the first button between my initial open and close simplegrid tag. Then all other buttons follow, followed by the final simple grid end tag. So, I have matched the code (unless I am missing something), and keep getting an error when I try to apply the changes. Error says "Must have an end tag for the tag, but I do have one of those as the last line of my panel code.

    Does this make sense? Anyone have any ideas?


  • 2.  RE: Coding Simplegrids in Dashboard to control XPression GFX

    Posted 11-01-2016 18:23
    A is a container that evenly distributes its space among all of the controls inside of it (in your case, buttons).
    Duplicating the simplegrid should work... it looks like you are doing something wrong in your copy/paste.

    In edit mode, when looking at the source, you'll want to have the top level of the tree selected on the left side (typically an tag).

    Select from the to the for the component you want to duplicate

    Put a newline after the and paste your copy there.

    The last thing in the file should still be the

    When you're done, there should be 2 controls. If they are in an , they will start off being directly on top of each other. You'll want to use the MOVE tool to select and relocate the second copy.

    Hope this helps.

    James



    #DashBoard