LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Colour Scheme tabstrip

someone have idea to create colour scheme tabstrip like picture below.
0 Kudos
Message 1 of 3
(3,177 Views)

If you are not too worried about speed, you could use a Canvas, with CanvasDrawLine() in a loop. Use the loop variable to set the line start/end points and the colour (using ATTR_PEN_COLOR) to draw a short line in a slightly different position at each iteration.

JR

0 Kudos
Message 2 of 3
(3,165 Views)
in vb program i also use draw line method. Cause not so familiar with NI, need so time to handle. btw thank you for ur reply. i will try it.
0 Kudos
Message 3 of 3
(3,154 Views)