Minor issues with Cocoa Currency Tutorial
Minor issues with Cocoa Currency Tutorial
- Subject: Minor issues with Cocoa Currency Tutorial
- From: Eric Wing <email@hidden>
- Date: Thu, 17 Jun 2004 12:24:12 -0700 (PDT)
Hi,
I was following the Cocoa Currency Converter Tutorial
found at
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/chapter01/chapter_1_section_1.html#//apple_ref/doc/uid/20001101
(not the Cocoa Bindings version) and things generally
worked except for two minor issues I was hoping
somebody could help me with.
My first problem was using the "Size to Fit" and "Same
Size" features on the label text. I discovered that
when my text is selected to be right-justified, both
the sizing features seem to shrink the text sizes to
nothing (I can't see the text anymore...just a
vertical line of sizing dots). But if I call these
options when the text is left justified, then the
resizing seems more sensible.
My second problem is setting the Key Equiv on the
"Convert" Button. According to the tutorial, setting
this to "Return" in the Attributes panel will make the
button respond to the return key. However, even after
setting this, when I press return when my program is
running, it fails to trigger the Convert button.
Instead, it just makes the current text field my focus
is set in, reselect all the text in that field and
flash (I suppose it's resubmitting the data). But the
result box fails to produce a new/updated value. I
have to manually click on convert with my mouse.
Can anybody tell me what I'm doing wrong? I'm using
Xcode 1.2.
Thanks,
Eric
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.