LOAD-LAYOUT Action

This document covers the following topics:


Description

Loads the specified dialog's control bar layout (if any) that was previously saved for the current user via the SAVE-LAYOUT Action. If no such saved layout exists, this action has no effect.

Note that the bar types (dockable or fixed) should match those at the time the layout was saved, otherwise the results are unpredictable.

Parameters

Name/Data Type Explanation
HANDLE OF GUI Input

Handle of the dialog for which the control bar layout is to be loaded.

Profile name

(A253)

Input (optional parameter)

The name of the profile from which the information is to be loaded. If this parameter is not specified, the name of the library containing the dialog is used.

Section name

(A253)

Input (optional parameter)

The name of the profile section from which the information is to be loaded. If this parameter is not specified, the name of the dialog is used.

Example:

PROCESS GUI ACTION LOAD-LAYOUT WITH #DLG$WINDOW GIVING #RESPONSE