4D_Info_Report

The 4D_Info_Report component (formerly called Info Report) is a powerful tool for analyzing and monitoring a running 4D database and its environment, which can help to size the cache, check activated logs or diagnose technical problems such as memory leaks, server misconfigurations, etc.

View on GitHub

aa4D_M_Dialogs_Margins_Set

Overview

This page documents aa4D_M_Dialogs_Margins_Set in the 4D_Info_Report reference.

Syntax

aa4D_M_Dialogs_Margins_Set (topMargin {; leftMargin})
Parameter Var type Description
topMargin Integer Minimal top margin (in pixels) for all component dialogs
leftMargin Integer (Optional) Minimal left margin (in pixels) for all component dialogs

Description

The aa4D_M_Dialogs_Margins_Set command (invisible) sets the minimal margins of all component dialogs (Report, Compare, Graph, Export) displayed in the MDI or current screen.

The left margin is an optional parameter. The set values are stored in 4DIR_Preferences.json under the <dialogs_margins> node:

<dialogs_margins>dialogs_margin_top="56" dialogs_margin_left="8"</dialogs_margins>

This method should be executed at first usage of the component to configure dialog positioning for the current environment.

To read the current values, use aa4D_M_Dialogs_Margins_Get.

To access the preferences file, execute the shared method aa4D_M_Show_Preferences.


Note for the shared methods description

«(invisible)» next to the name of the shared method: This method is not visible in “Execute method…”

Previous | Summary | Next