MoSync 3.3
Modal Dialog

Defines

#define MAW_MODAL_DIALOG_TITLE   "title"
 Sets or gets the title. If the property receives am empty string then the title bar becomes invisible.
#define MAW_MODAL_DIALOG_ARROW_POSITION   "arrowPosition"
 Sets the origin arrow position for a popover dialog. Note: This property is only available on the iPad.
#define MAW_MODAL_DIALOG_USER_CAN_DISMISS   "userCanDismiss"
 Allow or prohibits the user from dismissing a popover dialog by tapping outside of it. Note: This property is only available on the iPad.

Detailed Description

The available widget properties for a MAW_MODAL_DIALOG. See Widget properties for more properties.


Define Documentation

#define MAW_MODAL_DIALOG_TITLE   "title"

Sets or gets the title. If the property receives am empty string then the title bar becomes invisible.

Valid values
A null-terminated string.
Operations
Set and get.
Example
        maWidgetSetProperty(dialogHandle, MAW_MODAL_DIALOG_TITLE, "MyDialog");
#define MAW_MODAL_DIALOG_ARROW_POSITION   "arrowPosition"

Sets the origin arrow position for a popover dialog. Note: This property is only available on the iPad.

Valid values
One of the five MAW_CONSTANT_ARROW_ values, or a bitwise or combination of them.
Operations
Set only.
Example
        // Allow the popover to use any arrow
        maWidgetSetProperty(dialogHandle, MAW_MODAL_DIALOG_ARROW_POSITION, MAW_CONSTANT_ARROW_ANY);
#define MAW_MODAL_DIALOG_USER_CAN_DISMISS   "userCanDismiss"

Allow or prohibits the user from dismissing a popover dialog by tapping outside of it. Note: This property is only available on the iPad.

Valid values
"true"or "false".
Operations
Set only.
Example
        // Prohibit the user from dismissing the popover
        maWidgetSetProperty(dialogHandle, MAW_MODAL_DIALOG_USER_CAN_DISMISS, "false");
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines