Jump to content


Photo
- - - - -

Front panel control enable


  • Please log in to reply
3 replies to this topic

#1 Grey

Grey

    Very Active

  • Members
  • PipPipPip
  • 87 posts
  • Version:LabVIEW 2011
  • Since:2009

Posted 08 March 2012 - 04:21 PM

Hi,


I have two controls in my front panel. one is numeric and another one is string.

I want the user first enter the numeric control and then go for string control.

so what i'm looking is that once the user entered the numeric value, then the "string input" should enable and at the same time the mouse cursor should blink in it.

if the numeric data is not yet entered any value then the string input must not visible or enabled ...

possible ??


Thanks.

.

#2 asbo

asbo

    I have no idea what you're talking about... so:

  • V I Engineering, Inc.
  • 1,273 posts
  • Version:LabVIEW 2011
  • Since:2008

Posted 08 March 2012 - 04:57 PM

Yes, have a look at the Disabled property of your string control. You can use the Value property of the numeric control to decide the disable state of your string control. The KeyFocus property will move the cursor to the string control.

ValueDisable.png

#3 Grey

Grey

    Very Active

  • Members
  • PipPipPip
  • 87 posts
  • Version:LabVIEW 2011
  • Since:2009

Posted 08 March 2012 - 06:13 PM

Thanks asbo.
It's really a great help and learned nice info from you.

#4 MikaelH

MikaelH

    The 500 club

  • Premium Member
  • 576 posts
  • Location:Sydney
  • Version:LabVIEW 2012
  • Since:1996

Posted 08 March 2012 - 08:47 PM

And you will probably soon create an enable and disable VI to save block diagram space.

Lava_Enable.png
//Mike
Posted Image