ComponentOne List 8.0 for ActiveX
Size Property

 

Size Property

This property returns or sets the size of a split. The meaning of the value returned by this property is determined by the split's SizeMode property setting.

Syntax

split.Size= variant

Remarks

Read/Write at run time and design time.

Property applies to Split object.

If SizeMode is set to the default value of 0 - Scalable, then the value returned by the Size property is an integer indicating the relative size of the split with respect to other scalable splits.

If SizeMode is set to 1 - Exact, then the value returned by the Size property is a floating point number indicating the exact size of the split in terms of the coordinate system of the control's container.

If SizeMode is set to 2 - Number of Columns, then the value returned by the Size property is an integer indicating the number of columns displayed in the split.

Note: Note that when there is only one split (the control's default behavior), the split spans the entire width of the control, the SizeMode property is always 0 - dblScalable, and the Size property is always 1. Setting either of these properties has no effect when there is only one split. If there are multiple splits, and you then remove all but one, the SizeMode and Size properties of the remaining split automatically revert to 0 and 1, respectively.

See Also

Split Object, Splits Collection

 

 


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

Product Support Forum  |  Documentation Feedback