Application.SetDialogProperties

Application.SetDialogProperties (

string DialogName,

table Properties )

Example 1

-- Create a table containing the properties to set for the dialog.
tbDialogProperties = {};
nNewColor = Math.HexColorToNumber("FF0000");
tbDialogProperties.BackgroundColor = nNewColor;

-- Set the dialog's properties.
Application.SetDialogProperties("Dialog1", tbDialogProperties);

Sets the background color of the dialog named "Dialog1."

Note: This example assumes you have a dialog called "Dialog1" that currently has a gradient background color.

See also: Related Actions