Gets or sets the dialog background. It can be a color or a drawable. Pass Null (default) if you want to keep the default background.
BodyHeightAsInt
Gets or sets the height of the dialog body.
BodyWidthAsInt
Gets or sets the width of the dialog body.
CancelButtonAsObject
Gets or sets the "cancel" button to display. It can be a button or a string (the HTML tags in the string are interpreted). Pass Null (default) or "" if you don't want to show the button.
DialogBodyAsObject
Gets or sets the dialog body. It can be any view.
DialogGravityAsInt
DurationAsInt
Gets or sets the duration of the dialog, in seconds. Pass 0 (default) if you don't want to set a duration (the dialog will be dismissed only by an user action).
Initialize
MarginHeightAsInt
Gets or sets the height of the margin added above the dialog body. Should be set only when the gravity is set to TOP. Default = 0.
NegativeButtonAsObject
Gets or sets the "negative" button to display. It can be a button or a string (the HTML tags in the string are interpreted). Pass Null (default) or "" if you don't want to show the button.
OpenKeyboardAsBoolean
If True, open the virtual keyboard when the dialog is shown. Relevant only when the dialog contains an editable view. Default = False.
PositiveButtonAsObject
Gets or sets the "positive" button to display. It can be a button or a string (the HTML tags in the string are interpreted). Pass Null (default) or "" if you don't want to show the button.
TitleAsObject
Gets or sets the dialog title. It can be a view (a label, a panel, ...) or a string (the HTML tags in the string are interpreted).
TitleHeightAsInt
Gets or sets the height of the title. Relevant only when the title is a view.
TitleWidthAsInt
Gets or sets the width of the title. Relevant only when the title is a view.
Returns a copy of the user input without the leading and trailing spaces, and without the placeholders if Format is not empty.
CursorPositionAsInt
Gets or sets the cursor position in the input field. It is set by default to the length of the default text.
DefaultAsString
Gets or sets the initial text of the input field.
FormatAsString
Gets or sets the input mask. Mask characters: # = Digit L = Letter A = Alphanumeric H = Hexadecimal ? = Any character Examples: - Date & time = "##/##/#### ##:##" - Phone number = "(###) ###-####" - IP address = "###.###.###.###" - MAC address = "HH:HH:HH:HH:HH:HH" - Parental lock password = "AAAA"
GravityAsInt
HintAsString
Gets or sets the text that will appear when the input field is empty.
HintColorAsInt
Initialize
INPUT_TYPE_DECIMAL_NUMBERSAsInt
INPUT_TYPE_NUMBERSAsInt
INPUT_TYPE_NUMBERS_WITH_SIGNAsInt
INPUT_TYPE_PHONEAsInt
INPUT_TYPE_TEXTAsInt
INPUT_TYPE_TEXT_WITH_CAPSAsInt
InputTextSizeAsInt
Gets or sets the text size of the input field.
InputTypeAsInt
Gets or sets the input type flag. This flag is used to determine the settings of the virtual keyboard. The value is one of the INPUT_TYPE constants.
MultilineAsBoolean
Gets or sets whether the input field should be in multiline mode. Default = single line mode.
PasswordModeAsBoolean
Gets or sets whether the input field should be in password mode and hide the actual characters. Default = False
QuestionAsString
Gets or sets the text above the input field. HTML tags are interpreted.
QuestionTextSizeAsInt
Gets or sets the text size of the question.
SpaceBetweenAsInt
Gets or sets the height of the gap between the question and the input field.
ValidationCallbackAsString [write only]
Sets the function to call when the dialog is exited with the "positive" button. The callback function will return "" if the input is valid or an error message if the input is invalid. Example: IP.ValidationCallback("Input_Validation")
WithSuggestionsAsBoolean
Sets whether the virtual keyboard displays any dictionary-based candidates. This setting is ignored if Format is not empty or InputType is set to Numbers or Phone. Default = False
Shows a modal custom dialog. Returns one of the DialogResponse values. DlgParams: A set of parameters defining the position and the contents of the dialog. EvtPrefix: The prefix for the BackKeyPressed and Closing events.
Shows a modal input box. Returns one of the DialogResponse values.
Title: The dialog title. HTML tags (<B>, <I>, <U>, <BR>, <Sup>, <Sub>, <Font Color=...>, <TT>, <H1> to <H6>, etc.) are interpreted. Params: A set of parameters defining the behaviour and the appearance of the dialog. Positive: The text to display for the "positive" button. Pass "" if you don't want to show the button. Cancel: The text to display for the "cancel" button. Pass "" if you don't want to show the button. Negative: The text to display for the "negative" button. Pass "" if you don't want to show the button. Icon: An image (bitmap or drawable) that will be drawn near the title. Pass Null if you don't want to show an icon.
Shows a modal message box. Returns one of the DialogResponse values.
Title: The dialog title. HTML tags (<B>, <I>, <U>, <BR>, <Sup>, <Sub>, <Font Color=...>, <TT>, <H1> to <H6>, etc.) are interpreted. Message: The dialog message. HTML tags are interpreted. Positive: The text to display for the "positive" button. Pass "" if you don't want to show the button. Cancel: The text to display for the "cancel" button. Pass "" if you don't want to show the button. Negative: The text to display for the "negative" button. Pass "" if you don't want to show the button. Icon: An image (bitmap or drawable) that will be drawn near the title. Pass Null if you don't want to show an icon.
Top