Returns the width in standard characters for dialog control creation.
The width is different than the number of symbols (Len) as in some languages (Japanese for example) the symbols are very different in size on the dialog.
E.g. CreateStaticText
FUNCTION GetDlgCtrlWidthStdCh(str : DYNARRAY[] of CHAR): INTEGER;def vs.GetDlgCtrlWidthStdCh(str):
return INTEGER| Name | Type | Description |
|---|---|---|
| str | DYNARRAY[] of CHAR | The string used to calculate the std character count. |
VS Functions: CreateStaticText | CreateCenteredStaticText | CreateStyledStatic | CreateEditInteger | CreateEditReal | CreateEditText | CreateEditTextBox | CreateListBox | CreateListBoxN | CreateLB | CreatePullDownMenu | CreateEnhancedPullDownMenu | CreateColorPopup | CreatePullDownMenuGroupBox | CreateTreeControl | CreateClassPullDownMenu | CreateDesignLayerPullDownMenu | CreateSheetLayerPullDownMenu
Availability: from Vectorworks 2019