I try to set the background color of a button, but, isn’t work. Some can helpme please?
- (IBAction)OrBoton:(id)sender {
[sender setBackgroundColor:(NSColor *)redColor];
}
But, if I try to setTitle, this works fine.
Is unacessible the Backgroundcolor property?
I don’t recived any error when I Build and Debug, but don’t works.
Thanks!
Well, finally, I opted for change image button from a colored image, because unfortunately, at the moment, this is impossible for me.