Important Properties of the Component

The behavior of print, design and export can be controlled by some of the component's properties of the component. The most important are listed in the following table:

 

Property

Function

AutoProjectFile

Name of the project file to use. This is the default name for the project if a file selection dialog is provided. Otherwise it is the name of the project to use (Default: empty).

AutoDestination

Output format. If desired a format can be forced for the user by this property, e.g. Print is only allowed to printer or preview (Default: LlPrintMode.Export).

If a selection of export formats is to be allowed, it can be done by setting LlOptionString.ExportsAllowed. An example can be found in section Restriction of Export Formats.

AutoFileAlsoNew

Sets if the user is allowed to use a new file name for design in order to create a new project (Default: true).

AutoProjectType

Sets the project type. The different project types are described in section Project Types (Default: LlProject.List).

AutoShowPrintOptions

Sets if the print options dialog is displayed or suppressed (Default: true, display).

AutoShowSelectFile

Sets if the file selection dialog is displayed or suppressed (Default: true, display).

AutoMasterMode

Used together with the DataMember property to pass the master/parent table of 1:n linked data structures as variables. An example can be found in section Variables, Fields and Data.