A5_LAYOUT_DESIGN()

Syntax

Layout_Properties as P = A5_LAYOUT_DESIGN( Layout_Name as C, Layout_Type as C )

Argument

Description

Layout_Name

The name of the layout to edit.

Layout_Type

The type of the layout. Valid values are:

  • "Form"

  • "Browse"

  • "Report"

  • "Label"

  • "Letter"

Description

The A5_LAYOUT_DESIGN() function opens the named layout in the appropriate editor.

Supported By

Alpha Five Version 6 and Above

Limitations

Desktop applications only.

Example

The following command opens the Invoice report in the Report Editor.

? a5_layout_design("invoice", "report") 'opens the report editor

= drop_down_menu = ""

filter = ""

filter_mode = "all"

height = 355.000000

left = 160.000000

order = ""

+settings.

toolbar = ""

top = 294.000000

width = 799.000000

window_title = "Fred.set : Report Editor (invoice)"    

The following commands open the specified form and browse in design mode.

a5_layout_design("customer information@cust.ddd", "form")

a5_layout_design("CustomerBrowse@customer.ddd", "browse")

See Also

Form Functions and Methods, Browse Functions and Methods