🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
3 messages
3 total messages Started by Richard Myers Sun, 13 Sep 1992 18:01
Scrolly String thing.
#998
Author: Richard Myers
Date: Sun, 13 Sep 1992 18:01
22 lines
1176 bytes
When using IB to design menus, it's possible to grab one menu item
and move it to a different 'slot'.  I'm looking for a similar thing
for text in a 'view' or somesuch.

	+-------------------------------+
	| Item 1                        |
	| Item 2                        |
	| Item 3                        |
	+-------------------------------+

Grab 'Item 2' and drag it down, release it, and wind up with:
	
	+-------------------------------+
	| Item 1                        |
	| Item 3                        |
	| Item 2                        |
	+-------------------------------+

I though I'd seen something like that before, but I can't find it.
Would someone please give me a pointer to such a thing?
Thanks,
Kurt
Re: Scrolly String thing.
#1071
Author: Don McGregor
Date: Mon, 14 Sep 1992 21:36
15 lines
933 bytes
In article <2AB381FD.20938@news.service.uci.edu>  
rmyers@dec5200.acs.uci.edu (Richard Myers) writes:
> When using IB to design menus, it's possible to grab one menu item
> and move it to a different 'slot'.  I'm looking for a similar thing
> for text in a 'view' or somesuch.
> 
Look in NeXTDeveloper/Examples/ScrollDoodScroll.  NiftyMatrix does
what you want.  You can control-drag cells to new locations in a matrix.

It occurs to me that this example should probably be rewritten for 3.0 to  
use the new dragging protocol.

--
Don McGregor
drm@esl.com  
Re: Scrolly String thing.
#1044
Author: Sean T. Lamont
Date: Tue, 15 Sep 1992 01:28
16 lines
1266 bytes
In article <2AB381FD.20938@news.service.uci.edu> rmyers@dec5200.acs.uci.edu (Richard Myers) writes:
>When using IB to design menus, it's possible to grab one menu item
>and move it to a different 'slot'.  I'm looking for a similar thing
>for text in a 'view' or somesuch.


Look at the "NiftyMatrix" class in /NextDeveloper examples.  It's a
Matrix subclass with a couple of added bonuses, one of which is using
the control key to invoke cell rearrangement.


-- 
Sean T. Lamont                           |   "Don't oppress me, It's
Abstract Software                        |   'Computer of color! "
zeno@abstractsoft.com                    |   NeXTMail welcomed.
----------------"My employers opinions are my own, not yours."-----------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads