Re: function cannot change buttons behavior

2010-03-13 Thread Quincey Morris
On Mar 13, 2010, at 19:48, Marx Bievor wrote: > - (void)awakeFromNib{ > cont = [[Controller alloc] init]; > polygon = [[PolygonShape alloc] initWithNumberOfSides:5 > minimumNumberOfSides:3 maximumNumberOfSides:12]; > numberOfSidesLabel.text=[NSString stringWithF

function cannot change buttons behavior

2010-03-13 Thread Marx Bievor
Hi all, I have two functions increase and decrease which control the number of sides of a polygon. I want to call a - (void)function that disables the buttons if the current number of sides are equal to the maximum number of sides. 1) One problem is that "button.enabled=YES/NO" does not get cal