03-07-2020 12:07 AM
I would like to fix the positions of scroll bars of the front panel when the vi is loaded, is it possible?
Solved! Go to Solution.
03-07-2020 12:10 AM
03-07-2020 12:17 AM - edited 03-07-2020 12:19 AM
I would like a tab control (or the front panel (0,0) position) to be at the top left corner of the front panel window when the vi is loaded, no matter where it is when I closed/saved the vi.
It is just a "for convenience" question.
03-07-2020 02:59 AM
I like to do this too. I tend to set the front panel origin programmatically on all of my top level vi’s to make sure that they are in the right position when I recompile the exe.
Have a look at this link. This is how you do it.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6wgSAC&l=en-GB
03-07-2020 03:14 AM
Then you want to use a Property Node to set the Origin position.
You can also look at this link for more details: Programmatically Scroll a VI's Front Panel
03-07-2020 04:03 AM
Great! Exactly what I want to do. Thank you.