Menu pop-up imagem
A picture pop-up menu is a pop-up menu that displays a two-dimensional array of pictures. A picture pop-up menu can be used instead of a picture button. 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. The concept is the same as for button grids, except that the graphic is used as a pop-up menu instead of a form object.
Utilizar os menus emergentes de imagens
To create a picture pop-up menu, you need to refer to a picture. 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. As with button grids, variables associated with picture pop-up menus are set to the value of the selected element in the picture pop-up menu. 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). If you want to manage the effect of a click yourself, select No action
.
Propriedades compatíveis
Negrito - Estilo da linha de borda -Inferior - Classe - Colunas - Altura - Dica de ajuda - Dimensionamento horizontal - Esquerda - Nome do objeto - Nome do caminho - Direita - Linhas - Ação padrão - Superior - Tipo - Variável ou expressão - Dimensionamento vertical - Visibilidade - Largura