Dear Gentlemen,
I am trying to modify the background color of the button on form to red and the text to white, using the backgroundcolor() method on Activate() form method, but it's not changing.
i am using the below code
public void activate(boolean _active)
{
super(_active);
Mybtn.colorScheme(FormColorScheme::RGB);
Mybtn.backgroundColor(Winapi::rgb2int(255,0,0));
Mybtn.foregroundColor(Winapi::rgb2int(255,255,255));
}
the code worked fine for the text fields, but it didn't work on the button