🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
2 messages
2 total messages Started by Jess Anderson Sun, 20 Dec 1992 10:24
Help a Neophyte, Please
#2164
Author: Jess Anderson
Date: Sun, 20 Dec 1992 10:24
24 lines
1497 bytes
In my current project, I have 24 radio buttons that I want
to behave like a matrix, in so far as clicking one unselects
all the others.  But I want these cells to be at arbitrary
positions in the window (they're points on a map, actually).
I could live with a regular matrix, but the interface
wouldn't be nearly so nice-looking.  How can I do this, or
can I at all?

I've gone to the trouble of putting the map tiff on a very
large button in the window, then putting single radio
buttons at each city location and assigning each its name
and a tag.  Looks great!  But of course in test mode, all
the buttons are on at once, which is not going to work
further along.

I'd appreciate any help anyone cares to offer.  I'm using
3.0 PB and IB for this.

-- 
[Jess Anderson <> Madison Academic Computing Center <> University of Wisconsin]
[Internet: anderson@macc.wisc.edu <-best, UUCP:{}!uwvax!macc.wisc.edu!anderson]
[Room 3130 <> 1210 West Dayton Street / Madison WI 53706 <> Phone 608/262-5888]
[---------> Discrimination, Bigotry, and Hate are not Family Values <---------]
Re: Help a Neophyte, Please
#2167
Author: Brian Cuthie
Date: Mon, 21 Dec 1992 05:41
25 lines
1431 bytes
In article <1992Dec20.102454.17347@macc.wisc.edu> anderson@macc.wisc.edu (Jess Anderson) writes:
>
>In my current project, I have 24 radio buttons that I want
>to behave like a matrix, in so far as clicking one unselects
>all the others.  But I want these cells to be at arbitrary
>positions in the window (they're points on a map, actually).
>I could live with a regular matrix, but the interface
>wouldn't be nearly so nice-looking.  How can I do this, or
>can I at all?
>

Why not write a class of your own that implements the behavior of a disjoint
radio button matrix.   As I see it, you would connect each individual button
to the "Coordinator" class and it would manage making sure that they (as a
group) have the behavior of a radio matrix.  That is, one button on at a
time.  This shouldn't take long to implement at all (like, less than an
hour).

brian


-- 
Brian Cuthie
Systemix Software, Inc.
brian@systemix.com
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