Gets or sets the constraints applied to the location and size of this box.
VB6 Copy Code |
---|
Public Property Get Constraints( _ |
C++ Copy Code |
---|
public: |
A short value.
Allows applying constraints to the location and size of a box. These constraints are considered when a user modifies the box interactively. They are ignored if box placement is changed programmatically via methods and properties. Currently, the following constrains can be set:
Constraint index | Value |
---|---|
0 - no movement constraints; | |
0 - no constraints; | |
0 - no constraints; | |
0 - no constraints; | |
0 - no constraints; | |
0 - no constraints; |
This sample disables moving or resizing a box vertically.
VB6 Copy Code |
---|
' allow moving the box only horizontally |