Read and set a controls right

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Intermediate
Author:
Intelligent Solutions Inc.

Version Compatibility:

More information:
These procedures allow you to read and set the right value of the control. In the SetCtlRight procedure, the Optional AdjustLeft parameter controls whether to make the adjustment by moving the control to the left or by increasing the control's width.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: