Zoomed Image

AMSX Scripting Language - Command : form.setbuttons

Summary

Define the action buttons shown on the active AMSX form

Description

Replaces the button bar of the active form with the specified button definitions. Each button is a comma-separated entry; use a slash to separate the button ID from its display label, and an optional second slash for the button width in pixels (e.g. button2/Save Changes/120).

Parameters

ParameterDescription
cmdcomma-separated button definitions (e.g. OK,Cancel,button2/My Label/120)

Syntax


Form.SetButtons "comma-separated button definitions (e.g. OK,Cancel,button2/My Label/120)"

Return to the AMSX Command Reference