PDA

View Full Version : Skinning Message Box Button


ftbmacedo
06-05-2003, 09:44 PM
Hi,

Does anyone know how to change the appearance of a message box button?

I'm using the following parameters to skin the message box:

test_mb.setStyleProperty("face",0x333333);
test_mb.setStyleProperty("darkshadow",0x555555);
test_mb.setStyleProperty("shadow",0x444444);
test_mb.setStyleProperty("highlight",0x555555);
test_mb.setStyleProperty("highlight3D",0x444444);
test_mb.setStyleProperty("textColor",0xffffff);
test_mb.setStyleProperty("textSize",10);
test_mb.setButtonWidth(30);

And for the push button:

test_pb.setStyleProperty("face",0x333333);
test_pb.setStyleProperty("darkshadow",0x555555);
test_pb.setStyleProperty("shadow",0x444444);
test_pb.setStyleProperty("highlight",0x555555);
test_pb.setStyleProperty("highlight3D",0x444444);
test_pb.setStyleProperty("textColor",0x333333);

But how can I make the appearance of the message box button the same as the push button?

Thanks,


Fausto