private.msgBoxFrame - WIN

Class msgBoxFrame
Inherits from popupFrame.

The msgBoxFrame class provides a message box dialog. It is dressed with a title bar and close button. The message is wrapped as needed and the message box frame sized appropriately. The class is defined privately in the win API. To display a message box call parentFrame:msgbox for an application message box. Use desktopWindow:msgbox for a system message box.

Properties

none

Methods

See also API Reference, WIN.

private.msgBoxFrame:on_create

result msgBoxFrame:on_create (title, message)

Constructs the message box.

Parameters
title string Title bar text.
message string Message to display.

Returns
result boolean Always true.

Remarks
See popupFrame:on_create.


top


private.msgBoxFrame:on_resize

result msgBoxFrame:on_resize ()

Calls the base implementation and resizes the message box controls.

Parameters
none


Returns
result boolean Always true.

Remarks
See popupFrame:on_resize.


top


private.msgBoxFrame:set_bg_color

msgBoxFrame:set_bg_color (color)

Calls the base implementation to set the frame's background color and sets the message control's background color with the same.

Parameters
color number Color to set.

Returns
none


Remarks
See window:set_bg_color.


top


See also API Reference, WIN.