Graphics

 View Only
  • 1.  Visual Logic help for a board template

    Posted 11-29-2016 20:32
    i'm completely new to Xpression and I'm probably taking on more than I can chew with this board template. I'm trying to make a board with 8 lines of text and different layouts become visible when certain text fields are empty. For example, when only Line 1 is filled you get a layout with one line of text centered on the screen. If you fill in Line 1 and Line 2 you get a layout with two lines of text together centered on the screen but if you fill in Line 1 and Line 3 you get you get a layout with two lines with space in-between them centered on the screen.

    In visual logic I have Line:IsEmpty -> And -> Layout:Visible for each layout I have. The problem I'm having is when empty conditions overlap. When one layout calls for Line 2 to be empty but another layout calls for Line 2 and Line 4 for be empty I get two visible layouts on screen and I'm having trouble trying to make the unwanted layouts not visible. I'm trying to add Not -> Layout:Visible for the unwanted layouts but is not working as I think it should. Is there another way to turn off visibility with Visual Logic? Or should I try to make each layout recognize when a line has text in it.

    I also understand that tab order in Visual logic could be a problem too. Is what I'm trying to do too complicated?


  • 2.  RE: Visual Logic help for a board template

    Posted 11-30-2016 01:03
    If I'm understanding what you're trying to do correctly, it's actually quite simple. Are you using AND logic blocks at all? Connect the conditions you want to the inputs of those and then output connects to the visibility of the text fields. If you have a text field that is used in multiple layouts, try adding an OR block that takes the outputs of the AND blocks as inputs, and then connect the output of that to the text fields.
    #XPression


  • 3.  RE: Visual Logic help for a board template

    Posted 11-30-2016 12:41

    Hey Cye, you need something like this. See image and example project.


    #XPression


  • 4.  RE: Visual Logic help for a board template

    Posted 11-30-2016 12:42
    Hey Cye, you need something like this. See image and example project.
    #XPression


  • 5.  RE: Visual Logic help for a board template

    Posted 11-30-2016 19:42
    Thanks for the replies. I'm going to try out some of these ideas right now.
    #XPression