LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
tstanley

Numeric Prompt Pop-up

Status: New

It might be handy at times to have a built-in pop up type like the PromptPopup, but is intended for prompting the user for a number as opposed to a string.  I've run across this need many times, and I either have to roll my own pop up, or use the PromptPopup/GenericMessagePopup with a Scan() command a bunch of checking to make sure the user input a number and not a string or a character and so forth.  I would imagine such a pop up panel would take a variable type (VAL_DOUBLE, VAL_INTEGER, etc.), a default value, min/max limits, and possibly some other parameters like precision, format, and increment.  Thanks.