NSReturnSign Missing in Openstep 4.2

Started by Rob Blessin Black Hole, August 13, 2014, 07:15:13 am

Previous topic - Next topic

Rob Blessin Black Hole

Hello NeXT Community : I thought I would try some of the Openstep 4.2 Developer Tutorials and I have rediscovered a  bug in the tutorial. I have a clean install of Openstep 4.2 User, developer and Y2k patches on Virtual Box

This is a link to the Tutorial:
http://lisp.gotgeeks.com/Documentation/OPENSTEP/NextDev/TasksAndConcepts/DeveloperTutorials/2_CurrencyConverter/B_CurrencyConverter_CreateIF.htmld/

On Step 9 under the Currency Converter.nib window  it asks for you to drag and drop the NSReturnSign  onto the button  but the NSReturnSign image is missing and thus stymies the tutorial midstride.

I'm guessing from long trail gone cold complaints no one really solved this one.... but my guess is as it was not in Openstep 4.1 or 4.2  or RDR1 that it either was in 4.0 or earlier and mistakenly or otherwise dropped kind of like the cover sheet for faxes in 4.2 a mystery.

I'm thinking if I can find it on an earlier iso I should be able to drop it in or may be I did something else wrong as the tutorial is not real well written. I've had to improvise through a few steps. I can only imagine how heated developers were in 1997 during the initial transition as this was the first tutorial creating a path to Rhapsody then  OSX .

If someone has been there done that and knows an easy fix please let me know as I think it is just a matter of dragging and dropping the NSReturnSign  file into the right location and then I'm in business.

:arrow:
Rob Blessin President computerpowwow ebay  sales@blackholeinc.com http://www.blackholeinc.com
303-741-9998 Serving the NeXT Community  since 2/9/93

verdraith

Sorry to necro this post, I don't often google for my own web site.

NSReturnSign was a visual clue as to what would occur if the user hit the return key, but with OS4 the paradigm changed.  Now one simply sets the 'key' property to \r (apparently this is to do with the fact NeXT changed to a keyboard-based UI where one could tab around between controls in a panel or window)

Also, re the documentation.  It does feel rather rushed in OS4.x.  There's even some screengrabs of NS4.0 used in some of the help topics.

Originally, I said this:
QuoteOf course if, like me, you prefer NSReturnSign, you can grab it from NS3.3.  Simply put the image in a folder of your choice, and drag it into the Images pane in IB when you need it (but still set 'key' to \r)

However, I was wrong.

It turns out that the images are part of /usr/lib/NextStep/Resources/SharedGray.tiff which is present on OPENSTEP, but useless for what we want.

So, with that in mind, and with some quick hackery in IconMaker, here is NSReturnSign in all its glory.

http://lisp.gotgeeks.com/Resources/NSReturnSign/

You'll want both.  One for the normal image, and the other for the highlighted image.
Lisp Hacker