Ir para conteúdo
Fórum Script Brasil
  • 0

Usar o Anchors nos compos do DBGrid


danielrgoes

Pergunta

1 resposta a esta questão

Posts Recomendados

  • 0
TAnchorKind and TAnchors specify how a control is anchored to its parent.

Unit

Controls or QControls

Delphi syntax:

type TAnchors = set of TAnchorKind;

type TAnchorKind = (akTop, akLeft, akRight, akBottom);

C++ syntax:

enum TAnchorKind { akLeft, akTop, akRight, akBottom };

typedef Set<TAnchorKind, akLeft, akBottom> TAnchors;

Description

TAnchors is a set of TAnchorKind values. TAnchorKind can have one or more of the following values:

Value Meaning

akTop The control’s position is fixed with respect to the top edge of its parent.

akLeft The control’s position is fixed with respect to the left edge of its parent.

akRight The control’s position is fixed with respect to the right edge of its parent.

akBottom The control’s position is fixed with respect to the bottom edge of its parent.

Basta deixar as opções ( akTop, akLeft, akRight, akBottom ) todos como true

abraço

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,1k
    • Posts
      652k
×
×
  • Criar Novo...