Saltar para o conteúdo principal
Versão: Próximo

Tamanho formulário

4D permite definir el tamaño tanto del formulario como de la ventana. Estas propriedades são interdependentes e a interface da aplicação resulta da sua interação.

Las opciones de tamaño dependen del valor de la opción Tamaño basado en.


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.

    Puede elegir esta opción cuando desee utilizar objetos activos situados en un área fuera de la pantalla (es decir, fuera del rectángulo delimitador de la ventana) con una ventana de tamaño automático. 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>: el tamaño del formulario se basará en la posición del objeto formulario seleccionado. 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 del formulario (en píxeles) cuando el tamaño del formulario es definido en Definir tamaño.

Gramática JSON

NomeTipo de dadosValores possíveis
heightnumbervalor inteiro

---

Margem hor.

Valor a añadir (en píxeles) al margen inferior del formulario cuando el tamaño del formulario está definido en Tamaño automático o \<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.

Valor a añadir (en píxeles) al margen inferior del formulario cuando el tamaño del formulario está definido en Tamaño automático o \<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

Ancho del formulario (en píxeles) cuando el tamaño del formulario está definido en Definir tamaño.

Gramática JSON

NomeTipo de dadosValores possíveis
widthnumbervalor inteiro