Creates a simple VFP form input box.
Unlike VFP 7's native INPUTBOX this input box works with any type of value and supports format options as well as password character support.
o.InputForm(lcValue,lcMessage,lcCaption,lnFormWidth, lnFieldWidth,lcFormat,lcCancelValue)
Return Value
value entered
Parameters
lcValue
The initial value to display in this window. Note that unlike INPUTBOX you can specify a typed value and edit it in its native format.
lcMessage
The prompt for the input box. (Optional)
lcCaption
The form caption for the input box. (Optional)
lnFormWidth
Width of the form. If not specified tries to autosize. (optional)
lnFieldWidth
Width for the field. If not specified tries to autosize. (optional)
lcFormat
Optional - Format for the input field.
In addition to standard VFP format flags you can specify these custom values:
PASSWORD
lcCancelValue
The value returned when you press the Cancel button. The default value depends on the type of the input.
See also:
Library wwUtils | wwUtils::GetPassword© West Wind Technologies, 1996-2024 • Updated: 03/24/03
Comment or report problem with topic