Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

Width Property, SftMaskCaption Object

Defines the caption width (overrides SizePercent).

Syntax

Get

VB.NETW = object.Width As Single
VBW = object.Width As Single
C#.NETfloat W = object.Width;
VC++float W = object->Width;
float W = object->GetWidth();
CHRESULT object->get_Width(float* W);

Put

VB.NETobject.Width = W As Single
VBobject.Width = W As Single
C#.NETfloat object.Width = W;
VC++float object->Width = W;
void object->PutWidth(float W);
CHRESULT object->put_Width(float W);

object

A SftMaskCaption object.

W

Defines the caption width (overrides SizePercent). The units used depend on the container used (e.g., Visual Basic uses TWIPS by default, Visual C++ uses pixels).

Comments

The Width property defines the caption width (overrides SizePercent).

The SizePercent property defines the caption's relative width (left/right position).

The caption area position and size are defined using a combination of the Caption.SizePercent or Caption.Width, Caption.Position and AutoSize properties. For a detailed description of the various combinations, please see the chapter Built-In Caption.

See Also SftMaskCaption Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.