06-18-2014 07:09 AM
Hey,
I am making a program and I have got some problems, how can I display a message if I use poor button? ( the button is Num Ctrl).
Moreover I would like to control value (X) between 0 and a other value (Y) who can be modified during simulation, So I would like that 0<X<Y> Have you got any ideas ?
Thank you very much for you answers
Kind regards
Meratus
06-18-2014 07:24 AM
@Meratus wrote:
Hey,
I am making a program and I have got some problems, how can I display a message if I use poor button? ( the button is Num Ctrl).
Moreover I would like to control value (X) between 0 and a other value (Y) who can be modified during simulation, So I would like that 0<X<Y> Have you got any ideas ?
Thank you very much for you answers
Kind regards
Meratus
What do you mean Poor button? For numeric control, you can use the property node "Minimum" and "Maximum" during the run time.
06-18-2014 09:21 AM
Thank you for your answer ! Poor=The wrong button ! Yes i think to use maximum and minimum. But it is not possible in my case, i need to display it is wrong when we push a value in the num ctrl.
06-18-2014 09:24 AM - edited 06-18-2014 09:24 AM
You can use a value change event for the so called "wrong button" and pop-up a message when the event executes. Why are you saying its not possible?
06-18-2014 09:49 AM
In fact i have 8 num ctrl and i have 4 scenarios in the same program ! For exemple in the scenario 1 i use just 2 buttons and i would like when i use the other buttons, disply a message of error " you do not use the good button"
06-18-2014 09:54 AM
Instead of displaying the message why don't you disable them so that the user automatically knows they cannot use it. Does it make sense?
06-18-2014 10:05 AM
How can i disable them ? It is perfect if i can
06-18-2014 10:08 AM
Right click the Control/Terminal>Property Node>Disabled, Here you can select the "Disabled and Grayed out".
06-18-2014 10:10 AM
Thank you ! But i need to change the value if i change of scenario
06-18-2014 10:13 AM
You have the properties available (Check the properties of thee control) so you can do whatever you want.