VS:CreateEditColorText

From Vectorworks Developer
Revision as of 18:24, 15 September 2021 by Root (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Create a text box allowing collor and collapsing of text.

PROCEDURE CreateEditColorText(
dialogID :LONGINT;
itemID :LONGINT;
widthInStdChar :LONGINT;
heightInLines :LONGINT);
def vs.CreateEditColorText(dialogID, itemID, widthInStdChar, heightInLines):
    return None

Parameters

dialogID LONGINT The index of the dialog layout containing the control.
itemID LONGINT The index that will identify the control item.
widthInStdChar LONGINT The width of the displayed text in standard character count. See GetDlgCtrlWidthStdCh.
heightInLines LONGINT Height of the control in lines.

Version

Availability: from Vectorworks 2022