LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Making certain things uneditable in my control/indicator.

Solved!
Go to solution

Hi!

 

Hoping that someone can point me in the right direction.

 

I'm trying to emulate a terminal-type look and feel, but want to make my >> cursor portion undeletable. Please see attached picture. Can someone hint at the right philosophical approach for getting this done? I'm sure I can do it, but I want to do it the right way.

 

Thanks in advance.

 

0 Kudos
Message 1 of 4
(2,794 Views)

Use a table control and put the prompt in the row header. Right click on the table control and make sure that Editable headers is unchecked. You can customize the table control to look like a terminal.

 

Ben64

0 Kudos
Message 2 of 4
(2,750 Views)
Solution
Accepted by topic author LeroyBogz

Use a plain string indicator and use key-down events to accept printable characters.

0 Kudos
Message 3 of 4
(2,737 Views)

Thanks, knight of NI. You live up to your name.

 

I ended up adding a keydown case, as well as a keyrepeat case. My solution attached.

 

LB 

0 Kudos
Message 4 of 4
(2,685 Views)