1

SMS 2.2.4.....

using the following CSS:

.lblHeader{
  color: #005CB9;
}

If I drop a TW3Label on the form and set its StyleClass = lblHeader';

it works fine.

however, if I try to change the Style class of the one on the headercontrol, it doesn't work.

W3HeaderControl1.Title.StyleClass:= 'lblHeader';

I have tried it in both the InitializeForm and InitializeObjects methods and still nothing! What is the trick? :)

thanks

John
  • 507
  • 3
  • 13

1 Answers1

1

thanks to warleyalex from the SMS community forum, the answer is:

Runtime:

w3_setStyle(W3HeaderControl1.Handle.childNodes[0], 'color', '#005CB9');

design-time

.TW3HeaderControl fieldset{
  color: #005CB9 !important;
}
John
  • 507
  • 3
  • 13