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.
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.
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 :)
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.
The best video ever on LabVIEW UI and probably on LabVIEW too. You unlocked new knowledge to me.
Thank you a ton!
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.
I just wanna know how you got the subpanel to move slowly and smoothly when clicking the splitter!
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.
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?
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 :)
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.
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?
Excellent Presentation
great