INPUT command OK and Cancel parameters
|
12-15-2013, 09:36 PM
Post: #1
|
|||
|
|||
INPUT command OK and Cancel parameters
Page 551 in Prime User Manual
INPUT Syntax: INPUT(var [,"title", "label", "help", reset]); Opens a dialog box with the title text title, with one field named label, displaying help at the bottom and using the reset value if "Shift" "Esc" is pressed. Updates the variable var if the user taps "OK" and returns 1. If the user taps "Cancel", it does not update the variable, and returns 0. Where can I capture the above OK and Cancel values to test if they have been selected? rcf |
|||
12-15-2013, 10:31 PM
Post: #2
|
|||
|
|||
RE: INPUT command OK and Cancel parameters
The function INPUT() itself returns 1 or 0. Example:
Code:
You can optionally do something like: t:=INPUT(…); where t is a local/global variable and test the value of t later on. Graph 3D | QPI | SolveSys |
|||
12-16-2013, 12:23 AM
Post: #3
|
|||
|
|||
RE: INPUT command OK and Cancel parameters
Thanks Han. That answered my question.
rcf |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)