🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by MKK2 Sun, 30 Aug 1992 19:05
Matrix and highlighted cells
#903
Author: MKK2
Date: Sun, 30 Aug 1992 19:05
27 lines
1442 bytes
Last week I had this problem, got sort of hysterical about it one night 8-)
and posted a mostly anguished cry for help.

      Today, the rest of the app is coming along nicely, but I still have this
nagging problem that I haven't been able to solve.

      I have a Matrix of Cells in a ScrollView.  The Cells are a subclass
of TextFieldCell, though that might be the problem.  Mostly, things work OK.
The problems are:

      1.  When I mousedown on a cell, it highlights, but when I mouseup again,
          it goes back to gray.  I want the selected cell to be highlighted.

      2.  Double clicks invoke the delegate's doubleAction: OK, but single
          clicks do NOT invoke the delegate's action: method.

   I borrwed the general ideas for my code from ScrollDudeScroll, but I
guess that somewhere in there I've failed to set some behavior flag or
something.  I've tried lots of variants. I've RTFM'd the FM's up oneside
and the other.  [matrix update] doesn't do it.  Redefining drawSelf:...
doesn't seem to do it, though maybe I did that wrong.

   Any advice, folks?

      Still,

      lee Sailer, aka M
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