Jump to content
Fórum Script Brasil
  • 0

Usar o Anchors nos compos do DBGrid


danielrgoes

Question

1 answer to this question

Recommended Posts

  • 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 to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152k
    • Total Posts
      651.5k
×
×
  • Create New...