Xbasic

A5_LAYOUT_DESIGN Function

Syntax

Layout_Properties as P = a5_layout_design(C object_name ,C type )

Arguments

object_name

The name of the layout to edit. Character

type

The type of the layout. Valid values are:"Form", "Browse", "Report", "Label", "Letter"

Description

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

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 at cust.ddd", "form")
a5_layout_design("[email protected]", "browse")

Limitations

Desktop applications only.

See Also