The userWidth method returns the width in pixels, based on six times the number of characters. For example, if the user has specified 30 characters as the width for the control, the return value is 6 * 30 = 180.
To specify the width of the control in characters, users can right-click the control to open the setup form where the character specification is made.
int nWidth;
// The ctrl variable was previously defined
// as a FormControl value.
// Return the width.
nWidth = ctrl.userWidth();
// Specify the width.
ctrl.userWidth(90); // 15 characters * 6 pixels == 90