🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.soft-sys.andrew
2 messages
2 total messages Started by Germano Caronni Thu, 07 Jan 1993 15:38
adew-clicklist - Problems
#1915
Author: Germano Caronni
Date: Thu, 07 Jan 1993 15:38
31 lines
1737 bytes
Hi out there,
i am currently having some problems, to which I can not work out a
solution. Maybe you can help me ?

I have a clicklist-value, in which i insert a stirng-array, containing
some colons. As the font inside the table is always proportional,
and as I have not found any way to set the font or it's proportio-
nality, my colums will always be unaligned. (i cant use TAB)
Is there a possibility to set the font-style or the font itself ?
In Arb I can set a body-font, but this matters only for the title
of the clicklist-field, not for data which i assign later...

How can I let choose the user more than one entry of the clicklist
at the same time ? Is there a method where i can find a whole
selected range ? (And how can I find out, which button he uses to
click on the entries? I think there is something like this in the
valuev.ch - but I could not figure out how to let it work. It seems
that only inputs with the left mouse-button acutally cause a callback...

Advices of every kind are very welcome, so thanks you in advance :-))

Friendly greetings,

	Germano Caronni


-- 
Instruments register only through things they're designed to register.
Space still contains infinite unknowns.

Germano Caronni    caronni@nessie.cs.id.ethz.ch
Re: adew-clicklist - Problems
#1917
Author: Tom Neuendorffer
Date: Thu, 07 Jan 1993 21:55
35 lines
2263 bytes
Excerpts from internet.other.info-andrew: 7-Jan-93 adew-clicklist -
Problems Germano Caronni@nessie.c (1254)


> I have a clicklist-value, in which i insert a stirng-array, containing
> some colons. As the font inside the table is always proportional,
> and as I have not found any way to set the font or it's proportio-
> nality, my colums will always be unaligned. (i cant use TAB)
> Is there a possibility to set the font-style or the font itself ?
> In Arb I can set a body-font, but this matters only for the title
> of the clicklist-field, not for data which i assign later...

The clicklistv object has a pointer to a text object and a cltextview.
To change the style of the text, you could create a style object and
call text_SetGlobalStyle  on the text object (followed by a
text_NotifyObservers call) . 

> How can I let choose the user more than one entry of the clicklist
> at the same time ? Is there a method where i can find a whole
> selected range ? (And how can I find out, which button he uses to
> click on the entries? I think there is something like this in the
> valuev.ch - but I could not figure out how to let it work. It seems
> that only inputs with the left mouse-button acutally cause a callback...

The clicklist view was designed as a simple way to get back a single
clicked-upon string from the user, and these options are simply not
supported. You could make your own subclass of clklist or cltextview
that would support these, or you could try using the stringtable object
(atk/util/strtbl.c). If you need a quick option that doesn't require
programming, you could use the menterstrv view , and just tell your
users to type an X after each choice that applies. See the Adew
reference manual for info on menterstrv.

	Good luck,
		Tom
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