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,862 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,857 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,853 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,851 Views)

Now I see itSmiley Tongue. Thank you!

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