Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 894 Bytes

File metadata and controls

21 lines (14 loc) · 894 Bytes

Align

Align is supposedly a property of OLE Controls (the holders for OCXs) that controls the position of their contents on the form. The documentation claims that it applies only to some OLE controls. We don't think that this is a VFP property at all, but rather a property of OCXs that appears in the VFP property sheet when available.

Usage

oleContainer.Align = nAlign
nAlign = oleContainer.Align

OLE controls are weird. If you put an OLE control on a form, you'll see some of the properties of the OCX appear on the VFP property sheet. We sure wish they'd given us a clue exactly which controls have an Align property; we haven't found any yet. But, in any case, we don't think the documentation for this property belongs in the VFP help file at all.

Example

frmForm.OLEControl.Align = 4

See Also

OLEControl