From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Simplest way to draw a vertical line on panel

Solved!
Go to solution

Hi

I'm wondering what's the simplest way to draw a vertical line? Could you give me an example?

 

Thanks

0 Kudos
Message 1 of 5
(3,856 Views)

If you want to plot the vertical line directly on a panel then you can chose either a splitter control or a transparent canvas with a vertical line (for drawing on a graph you can use PlotLine ()).

 

The question is if you want to do this interactively in the UI editor or programmatically.

 

Message 2 of 5
(3,851 Views)

Thanks for the info, I would like to UI editor, currently I used splitter to draw a horizontal line, how to draw a vertical line

using splitter?

Thanks

0 Kudos
Message 3 of 5
(3,847 Views)
Solution
Accepted by topic author lynnz

Ah, when selecting the control chose the vertical one Smiley Wink

 

vertical_splitter.png

0 Kudos
Message 4 of 5
(3,845 Views)

Now I see itSmiley Tongue. Thank you!

0 Kudos
Message 5 of 5
(3,837 Views)