VS:SetStaticTextColor

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Description

Sets the color for the Layout Manager static Text

PROCEDURE SetStaticTextColor(
dialogID :LONGINT;
componentID :LONGINT;
red :INTEGER;
green :INTEGER;
blue :INTEGER);
def vs.SetStaticTextColor(dialogID, componentID, red, green, blue):
    return None

Parameters

dialogID LONGINT
componentID LONGINT
red INTEGER
green INTEGER
blue INTEGER

Remarks

_c_, (2021.01.03): This is broken on VW 2020 and 2021: the text stays black, unregarded the color setting passed.

_c_, (2014.04.27): This only works during dialog setup, the color cannot be changed later, for example during event SetupDialogC.

Version

Availability: from Vectorworks 2010