DFL Button.backColor

Zhenya zheny at list.ru
Tue Oct 30 06:34:20 PDT 2012


Hi!

Explain me please,why this code doesn't work

import dfl.all;

void main()
{
	auto form = new Form;
	auto button = new Button;
	button.backColor = Color(0,0,0);
	button.foreColor = Color(0,0,0);
	form.controls.add(button);
	Application.run(form);
}

It displays usualy button in system style,but should display 
black button


More information about the Digitalmars-d-learn mailing list