Páginas

quinta-feira, 13 de agosto de 2020

DICAS 3015 - WINDEV TUTORIAL 38 - Pesquisa Simples - Usando Controle Tab- PARTE B



https://youtu.be/tfrMWwdyLw0


Bom Dia/Boa Tarde/Boa Noite

Esse Ao Vivo vai estrear as 11:00 do dia 25/08/2020 

DICAS 3015 - WINDEV TUTORIAL 38 - Pesquisa Simples - Usando Controle Tab- PARTE B
Tutoriel WINDEV : Leçon 4.3.b. Recherche simple - Utilisation d'un champ Onglet

ASSUNTOS

CRIANDO UMA TAB 
ALTERANDO O NOME DA TAB
ALTERANDO O NOME DAS GUIAS
COLOCAR LISTA DE PRODUTOS DENTRO DA GUIA LISTA PRODUTOS 
COLOCAR DE VOLTA OS BOTOES TAMBEM 
COLOCANDO IMAGENS NAS GUIAS
ADICIONANDO ANCORA NA TAB



Video original da Franca

https://youtu.be/9j96PYOfbN0


Playlist Windev TUTORIAL










Modifying the window: using a Tab control
In this example, the search will not be performed in a new window: the WIN_Menu window will be used. At this time, this window displays the list of products.
We will use Tab controls to display various data in this window. Tab controls are used to group information by theme. The user can directly access a theme by clicking the desired "pane".
This system is used in all description windows of WINDEV.

Creating the Tab control

  • To display the data of the "WIN_Menu" window in a Tab control:
    1. Display the "WIN_Menu" window if necessary:
      • from the open documents bar.
      • by double-clicking its name the "Project explorer" pane.
    2. Select the window controls and move them to the home area of window. This may seem "strange", but it will make it easier to work on the Tab control and then associate the controls with the desired tab pane.
      Moving the window controls
    3. Create a Tab control in a window:
      • On the "Creation" pane, in the "Containers" group, expand "Tab and associated" and select "Tab".
      • Click in the window to create the Tab control.
      • Position the Tab control at the top left of the window.
      • A Tab control is created with two panes by default. The Tab control occupies the entire available space in the window.
    4. Select the controls in the home area of the window and move them to pane 1 of the Tab control.
    5. A green border appears when hovering controls on the Tab control. This border indicates that the controls placed on the current pane will be automatically associated with the pane.
    6. Enlarge (if necessary) the window and the Tab control to display the Table control and the buttons in the Tab control.

Remark

Handling controls in a Tab control
  • To check whether all controls are associated with the current tab pane, click another tab pane: all controls associated with the tab pane disappear.
  • To resize the Tab control while ignoring the anchors defined for the controls found in the pane, press the Shift key during the resize operation.
Window interface with Tab control

Modifying the Tab control

  • Modify the name of Tab control:
    1. Double-click the Tab control that was just created: the control description window appears.
    2. Modify the control name. The control is named "TAB_Viewing".
    3. Validate the control description window.
  • Two panes are created by default. We are going to modify their caption directly:
    1. Select the Tab control.
    2. Click "Pane 1". The pane becomes editable: type the "List of products" caption. Press Enter to validate.
      Caption of the tab pane in edit mode
    3. Click "Pane 2". The pane is displayed. Click "Pane 2" again. Type the caption: "Finding customers". Press Enter to validate.
  • We will associate an image with each pane of the Tab control. To do so:
    1. Display the description window of Tab control (double-click the control for example). The "General" tab of the description window allows you to configure the characteristics of each pane in the Tab control. The list of panes is displayed on the left. For each selected pane, its characteristics can be modified in the right section of screen.
    2. In the description window, select the "List of products" pane.
      Characteristics of a Tab control pane
    3. The pane characteristics are displayed.
      Characteristics of a Tab control pane
    4. We are going to associate an image to the tab pane via the WINDEV image catalog.

      Remark

      As soon as an image can be displayed in a control or window, WINDEV proposes to use the image catalog. This image catalog is started via the "Catalog" option (available by clicking the Show image options button). This catalog contains hundreds of images, cliparts, ...
    5. Click the Show image options button on the right of "Image" control. Select "Catalog" from the popup menu that is displayed. The image catalog window appears.
    6. Type "Product" in the search area. Click the magnifier to start the search.
      Searching for an image in the image catalogue
    7. Select Image of a product and validate ("OK").
    8. The screen for configuring the generated image is displayed. This screen is used to modify the characteristics of the image to generate: size, lightness, ... Keep the default options and validate.
    9. The image is generated in the project directory and the corresponding file is automatically associated with the current element.
    10. In the Tab control description window, click "Finding customers" in the list of static panes.
    11. Click the Show image options button on the right of "Image" control. Select "Catalog" from the popup menu that is displayed. The image catalog window appears.
    12. In the search area, specify "Person". Click the magnifier to start the search.
    13. Select, among the proposed images, the icon representing two persons ( Image of people ) and validate.
    14. Keep the options found in the setting screen of generated image and validate.
    15. Validate the Tab control description window.
  • A new control was just created: we must now manage its anchoring in the window. When the window is enlarged, the Tab control must also be enlarged in order to occupy the entire available space. Therefore, the control must stretch to the right and to the bottom.
    1. Select the Tab control.
    2. Display the popup menu (right mouse click) and select "Anchor".
    3. In the window for defining the anchor, select Anchor in height and width and validate.
    4. Save the window by clicking Save the element among the quick access buttons.



DICAS 2978 - WINDEV TUTORIAL 1 - 1.1B - WINDEV TEMA ESCURO E IDIOMA DO AMBIENTE
DICAS 2979 - WINDEV TUTORIAL 2 - 1.2- CRIAR JANELA E INSERIR TEXTO E EXIBIR
DICAS 2980 - WINDEV TUTORIAL 3 - 2.1- VARIAVEIS PARTE 1
DICAS 2981 - WINDEV TUTORIAL 4 - 2.2- VARIAVEIS ESCOPO - PARTE 2
DICAS 2982 - WINDEV TUTORIAL 5 - 2.1- VARIAVEIS OPERADORES PARTE 3
DICAS 2983 - WINDEV TUTORIAL 6 - 2.1.D - VARIAVEIS STRINGS PARTE 4
DICAS 2984 - WINDEV TUTORIAL 7 - 2.1.E - VARIAVEIS ARRAYS PARTE 5
DICAS 2985 - WINDEV TUTORIAL 8 - 2.2.A - CONDICOES IF-SWITCH PARTE 1
DICAS 2986 - WINDEV TUTORIAL 9 - 2.2.B - CONDICOES PARTE 2
DICAS 2987 - WINDEV TUTORIAL 10 - 2.3.A - LOOP PARTE 1
DICAS 2988 - WINDEV TUTORIAL 11 - 2.3.B - LOOP EXEMPLOS PARTE 2
DICAS 2989 - WINDEV TUTORIAL 12 - Lesson 2.4. The procedures - PARTE 1
DICAS 2990 - WINDEV TUTORIAL 13 - Leçon 2.4.b. Procedures Parametros - PARTE 2
DICAS 2991 - WINDEV TUTORIAL 14 - PROCEDURES REFERENCIA - PARTE 3
DICAS 2992 - WINDEV TUTORIAL 15 - PROCEDURES OPCIONAIS OU OBRIGATORIAS - PARTE 4
DICAS 2993 - WINDEV TUTORIAL 16 - PROCEDURES EXEMPLOS - PARTE 5
DICAS 2994 - WINDEV TUTORIAL 17 - PERGUNTAS E RESPOSTA - PARTE 1
DICAS 2995 - WINDEV TUTORIAL 18 - PERGUNTAS E RESPOSTA - PARTE 2
DICAS 2996 - WINDEV TUTORIAL 19 - WINDEV E OS BANCOS DE DADOS
DICAS 2997 - WINDEV TUTORIAL 20 - PROJETO E ANALISE - CRIACAO
DICAS 2998 - WINDEV TUTORIAL 21 - PROJETO E ANALISE - ARQUIVOS DADOS CLIENTE - PARTE 2
DICAS 2999 - WINDEV TUTORIAL 22 - PROJETO E ANALISE - ARQUIVOS DADOS CRIACAO ARQUIVO PEDIDO - PARTE 3
DICAS 3000 - WINDEV TUTORIAL 23 - PROJETO E ANALISE - IMPORTANDO CVS-ARQUIVO TEXTO - PARTE 4
DICAS 3001 - WINDEV TUTORIAL 24 - PROJETO E ANALISE - IMPORTANDO ARQUIVO PRODUTO - PARTE 5
DICAS 3002 - WINDEV TUTORIAL 25 - PROJETO E ANALISE - LINK - PARTE 6
DICAS 3003 - WINDEV TUTORIAL 26 - RAD COMPLETO
DICAS 3004 - WINDEV TUTORIAL 27 - VISAO GERAL
DICAS 3005 - WINDEV TUTORIAL 28 - Adicionar e Modificar Janelas PRODUTOS - PARTE A
DICAS 3006 - WINDEV TUTORIAL 29 - Adicionar e Modificar Janelas PRODUTOS Formulario - PARTE B
DICAS 3007 - WINDEV TUTORIAL 30 - Adicionar e Modificar Janelas PRODUTOS ALINHAR CAMPOS - PARTE C







Nenhum comentário:

Postar um comentário