ComponentOne True DBInput Pro 8.0
AutoSize Property (TDBContainer3D)

Sets/returns whether a child control will automatically resize itself to fill its container. The AutoSize property can be used to automatically adjust a size (width and height) of a child control to fill the area of the container control. This setting will take effect only if there is a single child control on the container.

Syntax

TDBContainer3D.AutoSize= value

Read/Write at run time and design time.

Values

Design Time

Run Time

0 - None (Default)

dbiAutoSizeNone

1 - Auto-size Child

dbiAutoSizeChild

Remarks

The child control is filled from the top-left edge of the container area. This excludes the 3D effects and the margin settings of both the container and the child control.

The container control resizes itself to fit the child control only when controls such as combo boxes, which have a fixed size, are placed.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback