Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.57 KB

File metadata and controls

49 lines (42 loc) · 1.57 KB

GetDlgCtrlWidthStdCh

Description

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

Parameters

Name Type Description
str DYNARRAY[] of CHAR The string used to calculate the std character count.

See Also

VS Functions: CreateStaticText | CreateCenteredStaticText | CreateStyledStatic | CreateEditInteger | CreateEditReal | CreateEditText | CreateEditTextBox | CreateListBox | CreateListBoxN | CreateLB | CreatePullDownMenu | CreateEnhancedPullDownMenu | CreateColorPopup | CreatePullDownMenuGroupBox | CreateTreeControl | CreateClassPullDownMenu | CreateDesignLayerPullDownMenu | CreateSheetLayerPullDownMenu

Version

Availability: from Vectorworks 2019

Category