05-01-2007 03:14 PM
05-01-2007 03:39 PM
There is no built in property that I know of but implementation is simple, In the key up event set the scroll property to a large number (999999) this way each time you press a key the scroll will go the the end (as long as you have fewer lines than the scroll possition).
Paul
05-02-2007 12:14 PM
05-02-2007 12:33 PM
09-03-2008 03:41 AM
I am using the labview graphical programming standard stuff.
The textbox does not have these properties (or whatever) .
So are you guys doing c-programming here????? or what.
Of corse i would like to have the cursor stay at EndOfText, but how...................................?
09-03-2008 07:02 AM
09-03-2008 08:57 AM
Aha... my lovely LV8.5 is in german.
- right-click on textbox, select:
. create->propertynode->text->scroll-position (german: anzeigeposition).........
this creates an "item" with error_in/out and a format input .
created a constant to connect to that "item". it refused to connect as it is an output to something, not an input.
so where do i connect this "item" to...? where is that constant 999999 to be put in?
09-03-2008 09:07 AM
Right click on it and select 'Change to Write'. I have no idea what that might be in German.
You could probably benefit from the free on-line courses.
p.s You've also posted this same identical question multiple times. Please don't do that again.
09-05-2008 04:49 AM
Hi Dennis,
Working multilingual has its "thrills". dont worry about german.
...and yes i was posting somewhere else too, as this subject seems to get a lot of attention, but you get
all of someones postings listed up anyway .
OK,here is my current state of "a simple text-terminal-windows"(if it shows up):
As mentioned above, we are able to create a Property Node. As for understanding, it is a way to access the Propertys for Class TextBox
(in this example). We can set the Direction to "write", which will SET propertys in that class (namely in the textbox).
We do observe that there is no connection to the textbox in the blockdiagram. it is "connected" by the name of the object.
We selected "ScrollPosition" as the Property to set, and gave it a dummy value of 999999 to be always at the end.
Indeed we now see the text being displayed at the end of screen, thus scrolling up.
The next thing we might want for a text-terminal is the proper handling of CR and LF.
Currently either CR or LF will cause a CRLF in the textwindow.
Is there a way (or property) which may even handle that?
09-05-2008 08:26 AM
No, the image does not show up. It's on your C: drive and no one has access to it. The correct thing to do is use the Attachement option that is below the message body. Also, since this is a new question, you should create a new thread.
In any case, I don't know what you mean by proper handling of CR and LF. You need to define what proper is to you and what you want to change. Isn't a CR or LF supposed to cause a CR or LF in a text window?