UKTAG#3: User Interface Design - Splitters, Panes and SubPanels

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 10

  • @shahadalrawi6744
    @shahadalrawi6744 Год назад

    The best video ever on LabVIEW UI and probably on LabVIEW too. You unlocked new knowledge to me.
    Thank you a ton!

  • @nend1253
    @nend1253 2 года назад

    Nice how easy you teach this fews concepts in a pratical way. I am loving working with LabVIEW and even more watching your videos and see what should I be able to do with more years of experiences.

  • @invitedcracker-nvtdcrkr5490
    @invitedcracker-nvtdcrkr5490 Год назад

    I just wanna know how you got the subpanel to move slowly and smoothly when clicking the splitter!

    • @TomsLabVIEWAdventure
      @TomsLabVIEWAdventure  Год назад

      The trick is to use the position properly sparingly. Instead of setting the position property node in for loop for every pixel, set the position to 10%, 25%, 50%, 75%, 90%, and 100% with a ~80ms delay between each. To the user it will appear smooth, but use significantly less processing power. Play around with the percentage values and the delay until you get something just right.

  • @Jonathan-hz4no
    @Jonathan-hz4no 4 года назад

    Nice presentation. Is the example code available anywhere? I'm particularly interested in how you did the scrollbar at 11:25! Is that a QControl?

    • @TomsLabVIEWAdventure
      @TomsLabVIEWAdventure  4 года назад +1

      Hi Jonathan, unfortunately I can't share the code with you, but to answer your question about the scroll bar:
      There's a mouse enter event (for the array of picture boxes) that checks if the length of the array is greater than the length of the pane. If yes, then the scroll bar is visbale (else, it isn't), then the mouse leave event hides the scroll bar.
      When there's a mouse down event, I calculate which element of the array the mouse was over (google how to do that, someone posted a fancy trick, which I can't remember off hand).
      It isn't a Q Contol, but it would be a good contender for one :)

  • @magdamichalak2826
    @magdamichalak2826 2 года назад

    hello, a very inspiring presentation. How to make this disappearable menu that can be pinned? I will be grateful for help. I have tried Pane Position but it is read only.

  • @shatzmen
    @shatzmen 4 года назад

    Hey, cool presentation. How you have done the GUI, that the panes comes out and then back in? could you please give me the vi in lv version 2018?

  • @Behind_the_Scenes_bytes1
    @Behind_the_Scenes_bytes1 4 года назад

    Excellent Presentation

  • @birdost4872
    @birdost4872 4 года назад

    great