UI_DLG_REMEMBERED_CLEAR()

Syntax

Result as C = UI_DLG_REMEMBERED_CLEAR( Title as C )

Argument

Description

Result

A character string with seven comma delimited fields: the first is NULL, and the last six are set to zero.

Title

The name of the dialog box.

Description

The UI_DLG_REMEMBERED_CLEAR() function clears any remembered alignment, size, or position data from the HKEY_CURRENT_USER\Software\Alpha Software\Alpha Five 6.0\xdialog key in the system registry.

Supported By

Alpha Five Version 5 and Above

Limitations

Desktop applications only.

Example

This example runs a dialog, asks what its settings were, clears them, and asks again.

ui_dlg_box("Sticky",<<%dlg%

{position=remember=sticky}

{size=remember=sticky}

This is a sticky dialog | <Ok>;

{stretch=center}

[.30,10dummy]

%dlg%)

? ui_dlg_remembered_get("sticky")

= " ,0.78125,2.666667,2.510417,2.427083,0,0"

= " ,0,0,0,0,0,0"

ui_dlg_remembered_clear("Sticky")

? ui_dlg_remembered_get("Sticky")

= " ,0,0,0,0,0,0"

See Also

Xdialog Function Reference, UI_DLG_REMEMBERED_GET(), {POSITION}