Saltar para o conteúdo principal
Versão: v20 R4 BETA

Form Size

4D permite-lhe definir o tamanho do formulário e da janela. Estas propriedades são interdependentes e a interface da aplicação resulta da sua interação.

As opções de tamanho dependem do valor da opção Tamanho baseado em.


Tamanho baseado em

  • Automatic Size: The size of the form will be that necessary to display all the objects, to which will be added the margin values (in pixels) entered in the Hor Margin and Vert Margin fields.

    You can choose this option when you want to use active objects placed in an offscreen area (i.e., outside the bounding rectangle of the window) with an automatic size window. Thanks to this option, the presence of these objects will not modify the size of the window.

  • Set Size: The size of the form will be based on what you enter (in pixels) in the Width and Height fields.

  • \<object name>: The size of the form will be based on the position of the selected form object. For example, if you choose an object that is placed in the bottom-right part of the area to be displayed, the form size will consist of a rectangle whose upper left corner will be the origin of the form and the lower right corner will correspond to that of the selected object, plus any margin values.

For output forms, only the Hor margin or Width fields are available.

Gramática JSON

NomeTipo de dadosValores possíveis
formSizeAnchorstringNome do objeto a utilizar para definir o tamanho do formulário

Alto

Altura do formulário (em pixéis) quando o tamanho do formulário é Definir tamanho.

Gramática JSON

NomeTipo de dadosValores possíveis
heightnumbervalor inteiro

Margem hor.

Value to add (in pixels) to the right margin of the form when the form size is Automatic size or \<object name>

This value also determines the right-hand margins of forms used in the Label editor.

Gramática JSON

NomeTipo de dadosValores possíveis
rightMarginnumbervalor inteiro

Margem hor.

Value to add (in pixels) to the bottom margin of the form when the form size is Automatic size or \<object name>.

Este valor também determina as margens superiores dos formulários utilizados no editor de etiquetas.

Gramática JSON

NomeTipo de dadosValores possíveis
bottomMarginnumbervalor inteiro

Largura

Largura do formulário (em pixeis) quando o tamanho do formulário é Definir tamanho.

Gramática JSON

NomeTipo de dadosValores possíveis
widthnumbervalor inteiro