control.grid.getTxtWidth() method

Description: Gets the width the control should have to accommodate its text content properly.
Arguments: None

This method is compatible with the following tags:

  • <button>
  • <checkBox>
  • <label>
  • <radioButton>

This method will return nil for non-compatible tags.