2.111 .extension

This attribute of the file dialog (filereq) defines a file extension that is appended to selected files without an extension.

When files selected within the querybox() call have no extension, a dot (.) and the attribute value are appended to the file name. When the attribute value is an empty string ("") no extension is appended.

Definition

  • Data type

    string

  • Access

    get, set

  • changed event

    yes

Special Features of Microsoft Windows

Extensions are only appended to files.

See also

Attributes .style, value

Built-in function querybox()