terça-feira, 11 de agosto de 2020

DICAS 3008 - WINDEV TUTORIAL 31 - Adicionar e Modificar Janelas ANCORAS - PARTE D



https://youtu.be/_2-D4ZN7hdg


Bom Dia/Boa Tarde/Boa Noite

Esse Ao Vivo vai estrear as 18:00 do dia 21/08/2020 

DICAS 3008 - WINDEV TUTORIAL 31 - Adicionar e Modificar Janelas ANCORAS - PARTE D
Tutoriel WINDEV : Leçon 4.2.d. Fenêtres d'ajout et de modification - Ancrages

ASSUNTOS

VAMOS ANCORAR CADA CAMPO
MOSTRAR COMO SE SABE QUE ESTA COM ERRO A ANCORA
MOSTRAR QUE ELE MOSTRA A MELHOR OPCAO PARA ANCORA



Video original da Franca

https://youtu.be/8gEglAoulS4


Playlist Windev TUTORIAL

https://www.youtube.com/playlist?list=PLwJwZaqiZW-lxU1XF0M0htb5S5f8pavuE






Managing anchors
  • Let's see the visual aspect of our window:
    1. On the "Modification" pane, in the "Preview" group, click "Preview". This runtime mode is used to display the window interface. The different codes are not run.
    2. Enlarge the window via the sizing handle found at the bottom of window. The position of controls is not modified and the window displays a large empty area. Two methods can be used to solve this problem:
      • Forbid the window from being resized.
      • Manage the anchors, which means manage the behavior of controls when resizing the window. That's what we are going to do.
        Window preview
    3. Close the preview: click the "Close" button or the cross found in the top right corner of window.

      Remark

      How to manage anchors in a window?
      To manage the anchors:
      1. In the editor, reduce the window to its minimum size. All outside window borders must be "stuck" to a control.
      2. Study the controls one by one and ask yourself the following question : "How will the control react when the window is enlarged?". Then, apply the corresponding anchor.
  • For this window, we are going to define the anchors together:
    1. The "OK" and "Cancel" Button control must be anchored to the right.
      • Select these two controls.
      • Display the popup menu (right mouse click) and select "Anchor".
      • In the window for defining anchors, select "Right".
        Managing anchors
      • Validate.
      • Small red arrows appear in the editor, indicating that the controls are anchored to right.
    2. The edit controls must increase in width:
      • Select the 4 edit controls.
      • Display the popup menu (right mouse click) and select "Anchor".
      • In the window for defining anchors, select "Width" ( Anchor in width ).
      • Validate.
    3. We are going to test the operating mode of this window in preview:
      • On the "Modification" pane, in the "Preview" group, click "Preview".
      • Enlarge the window: the controls follow the enlargement in width.
      • We must now define the operating mode during the enlargement in height.
    4. The "Description" control can contain a larger or smaller product description. This is the largest control in the window: it must occupy the maximum available space. Apply an anchor in width and height to it ( Anchor in width and height ).
    5. The "Price BT" control is automatically bordered by a red line: the window editor signals an anchoring problem. Indeed, if the "Description" control stretches to the bottom, the "Price BT" control must move to the bottom accordingly.
    6. Open the anchoring window for the "Price BT" control. The best anchor is automatically proposed: "width and bottom" (a green checkmark is displayed). Select the proposed anchor and validate.
    7. We are going to test the operating mode of this window in preview:
      • On the "Modification" pane, in the "Preview" group, click "Preview".
      • Enlarge the window: the controls follow the enlargement in width and in height.
        Window preview
    8. Close the window preview to go back to the editor.











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

Teste

Teste
teste