Re: Buttons work under 10.3.4 but not 10.2.8
Re: Buttons work under 10.3.4 but not 10.2.8
- Subject: Re: Buttons work under 10.3.4 but not 10.2.8
- From: Tim Hewett <email@hidden>
- Date: Tue, 8 Jun 2004 07:46:34 +0100
Hi,
This problem with buttons in a drawer not working is getting stranger...
I'd wondered whether there was some small incompatibility when
an Interface Builder created GUI made under 10.3 was run under 10.2,
but IB seems to be irrelevant.
First, running IB under 10.2.8 I deleted and recreated/reconnected the
buttons, in case the 10.2.8 IB would do something different to 10.3's.
They still just generated a system beep when clicked. I've since had the
buttons print out their target object pointers and they are all setup
fine
under both 10.2. and 10.3. Now the target and actions of all three
buttons are manually set to be what they should be, in case the
buttons aren't being instantiated correctly, and still just the system
beep without the action method being called.
The buttons are definitely "there", they can be controlled as outlets,
e.g. setEnabled: works just fine, the buttons grey and ungrey as they
should. It is just the actions when the buttons are clicked, under
10.2.8
they do nothing.
Any insights as to what is causing this would be very much appreciated.
Regards,
Tim Hewett, Coolatoola.com
On 1 Jun 2004, at 09:12, Tim Hewett wrote:
Koen,
On 1 Jun 2004, at 00:56, Koen van der Drift wrote:
On May 31, 2004, at 6:51 PM, Tim Hewett wrote:
Everything has ben created under 10.3.4 (and 10.3.3 beforehand),
and if I open the relevant nib file in Interface Builder under 10.2.8
to check the buttons are connected to the controlling class, they
are, it all looks fine. So it appears the connections are in place
for
both 10.3 and 10.2.8.
Did you try InterfaceBuilder -> File -> Compatibility Checking? That
will tell you if you have any elements that won't work with various
version of OS X.
No... but now I have it shows no incompatibilities. There is no special
handling on the buttons (they are not subclassed, for example), they
simply connect to the controller class like the buttons in the panel.
The buttons in the panel work fine, but the buttons in the drawer which
slides out from that panel don't work under 10.2.8 but are fine under
10.3.
Maybe 10.2.8 doesn't allow buttons in drawers? I would have expected
the compatibility check to have said so though... I'm now trying to
think
of any 10.2 apps which have working buttons in drawers.
- Koen.
Tim.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.