NeXT Computers Forum Index NeXT Computers
Log in to check your private messagesLog in to check your private messages

Log inLog in  RegisterRegister

Profile  Search  Memberlist  FAQ  Usergroups
NSReturnSign Missing in Openstep 4.2

Post new topic   Reply to topic    NeXT Computers Forum Index -> Porting New Software
View previous topic :: View next topic  
Author Message
Rob Blessin Black Hole
Site Admin

Joined: 05 Sep 2006
Posts: 719
Location: Ft. Collins, Colorado

PostPosted: Wed Aug 13, 2014 12:15 am    Post subject: NSReturnSign Missing in Openstep 4.2 Reply with quote

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:

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.

Rob Blessin President computerpowwow ebay
303-741-9998 Serving the NeXT Community since 2/9/93
Back to top
View user's profile Send private message Send e-mail Visit poster's website

Joined: 22 Feb 2010
Posts: 23
Location: Cardiff, UK

PostPosted: Wed Oct 07, 2015 12:31 pm    Post subject: Reply with quote

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:
Of 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.

You'll want both. One for the normal image, and the other for the highlighted image.
Lisp Hacker
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NeXT Computers Forum Index -> Porting New Software All times are GMT - 7 Hours
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2017 phpBB Group