VS:SetStaticTextColor: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
m (1 revision)
 
(add usage limit)
(One intermediate revision by one other user not shown)
Line 51: Line 51:


-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
<remark></remark>
<remark>
([[User:Orso.b.schmid|Orso]], 2014 Apr. 27):  This only works during [[VS:CreateResizableLayout| dialog setup]], the color cannot be changed later, for example during event [[VS:Creating_a_Custom_Dialog_Box| SetupDialogC]].
</remark>


-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------

Revision as of 06:23, 27 April 2014

.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

(Orso, 2014 Apr. 27): This only works during dialog setup, the color cannot be changed later, for example during event SetupDialogC.

Version

Availability: from Vectorworks 2010