setDialogDragMode

Syntax

int setDialogDragMode(int mode)

Arguments

mode
Integer setting the dialog drag mode

Returns

Always returns true.

Description

Sets how the filter dialog box can be dragged around the screen. Valid values are 0 (title bar only), 1 (background and title) and 2 (dragging disabled). The default mode is title bar only (0).

Example

// Make the dialog draggable when clicking & holding on the background
setDialogDragMode(1);

See Also

setDialogImage, setDialogColor

Comments

Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.