Jump to content
Developer Wiki and Function Reference Links Read more... ×
PatW

VWStaticTextCtrl->SetColor How does it work?

Recommended Posts

Hello,

 

I did many approches to set the text-colour of a static text but nothing happens. How is it done?

VWStaticTextCtrl* statusTxContrl = GetStaticTextCtrlByID(klbCurrState);
...
// color.SetColor(color.GetRed() );
 color.SetColor(10, 5, 0, 100);
...
//color.SetBackgroundColor();
//color.SetFrontColor();

statusTxContrl->SetControlText (statusString);
statusTxContrl->SetColor(color, false);

 

Edited by PatW

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×