Saltar para o conteúdo principal
Versão: 20 R5 BETA

Menu pop-up imagem

A picture pop-up menu is a pop-up menu that displays a two-dimensional array of pictures. Se puede utilizar un menú emergente de imágenes en lugar de un botón imagen. The creation of the picture to use with a picture pop-up menu is similar to the creation of a picture for a picture button. El concepto es el mismo que el de la rejillas de botones, salvo que la imagen se utiliza como un menú emergente en lugar de un objeto del formulario.

Utilizar os menus emergentes de imagens

Para crear un menú emergente de imágenes, debe referirse a una imagen. The following example allows you to select the interface language by selecting it from a picture pop-up menu. Cada língua é representada pela bandeira correspondente:

Programação

Pode gerir os menus pop-up de imagens utilizando métodos. Al igual que con las rejillas de botones, las variables asociadas a los menús emergentes de imágenes se definen con el valor del elemento seleccionado en el menú emergente de imágenes. Se nenhum elemento for seleccionado, o valor é 0. Os elementos são numerados, linha a linha, da esquerda para a direita, começando pela linha superior.

Ir para página

You can assign the gotoPage standard action to a picture pop-up menu. When that action is selected, 4D will automatically display the page of the form that corresponds to the position of the picture selected in the picture array. Elements are numbered from left to right and top to bottom, beginning with the top left corner.

For example, if the user selects the 3rd element, 4D will display the third page of the current form (if it exists). Si desea gestionar usted mismo el efecto de un clic, seleccione Sin acción.

Propriedades compatíveis

Bold - Border Line Style -Bottom - Class - Columns - Height - Help Tip - Horizontal Sizing - Left - Object Name - Pathname - Right - Rows- Standard action - Top - Type - Variable or Expression - Vertical Sizing - Visibility - Width