Original Delphi XE10 Dxlayoutcontrol Controls Application Guide

Source: Internet
Author: User

DevExpress VCL Kit is a very powerful set of interface controls, unfortunately there are too few instructions on Delphi development, some controls used to confused, do not know where to start. This section details how to use the Dxlayoutcontrol control to make an interface layout in Delphi Xe10 Seattle.

1, first from the Toolbox panel put Dxlayoutcontrol on the form, set 2 key properties as follows:

Property

Property value

Description

Align

Alclient

It is generally set to alclient because it is required to control the entire form layout

Layoutlookandfeel

Create a new Lookandfeel in the new List

Create a new style sheet to control the style of the layout control

2. Right click on the Dxlayoutcontrol control on the form, select "Designer ..." on the pop-up menu, a designer window will pop up, click "Root" on the left, then set its properties as follows:

Property

Property value

Description

Alignhorz

Ahclient

Horizontal alignment

Alignvert

Avclient

Vertical alignment

LayoutDirection

Ldvertical

Layout is arranged in a vertical direction

Ldhorizontal

Layout is arranged in a horizontal direction

Ldtabbed

tab arrangement

3, set to "root" of the properties, click on the right to add a few groups (Groop), and then drag the group to the left of the root, the form window on the grouping of the order can be dragged by the mouse on the "designer" on the order to change, directly drag on the form window is not valid. The attribute values for the grouping and the root are basically the same, so note the following attributes of the grouping:

Property

Property value

Description

Showborder

True (False)

Whether you want to display the grouped borders

Captionoptions->text

Custom text

Text in text indicates the content of the title displayed on the group

LayoutDirection

Ldvertical,ldhorizontal

The direction of the arrangement is whether the arrangement of controls in the grouping is arranged horizontally or vertically

4, the group is added to complete, set the corresponding properties, you can according to the design in the grouping inside the corresponding edit box or button. The final result is this:

qq:7846156

Original Delphi XE10 Dxlayoutcontrol Controls Application Guide

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.