LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to reverse the TextBox scroll direction?

We are evaluating LabWindows\CVI 8.0.
While running the atedemo sample provided by NI we observe that the text output appears in the reverse direction in the test box.
ie.. the 1st test goes down and 2nd test appears above 1st test.
Can this be reversed?
0 Kudos
Message 1 of 2
(2,929 Views)

Hi,

You can put a line of text anywhere in a textbox. Check out the OutputResults function in the atedemo. In this function, the InsertTextBoxLine is used to put a new line of text in the textbox. The LineIndex parameter (3rd parameter) of this function is set to 0, which means that the text is inserted on top of the textbox. When you check the help on this parameter for the InsertTextBoxLine function, you will see that setting the parameter's value to -1 will cause the new line to be inserted at the end of the textbox, and the test results will be printed from top to bottom.

Message 2 of 2
(2,927 Views)