CLIM mail archive

[Prev][Next][Index][Thread]

Re: member-alist presentation type



  Date: 20 May 94 16:09:17+0200
  From: Jacques RATTIER <rattier@issy.cnet.fr>

  I am working with ACL 4.2 and CLIM-2 on SUN

      Could someone help me on this point :

      I use an (accept 'member-alist *alist* :default *alist*
		      :stream *query-io* :prompt "BLABLA")
    inside an accepting-values menu where my alist *alist* is a quite long
    one (around 40 entries).
    In CLIM-1 the menu was correctly presented on several lines
    but in CLIM-2 it is presented on only one.
    This is unconvenient because the user has to scroll on a very long
    bar.
    How is it possible to present this presentation type on several
    lines. (I cannot use a terpri INSIDE my accept)
    Thank you very much for any help.

You can use the view argument to accept, eg

(accept `(member-alist ...) ... :view '(radio-box-view :columns 4))

As you have so many entries you might want to consider using a list pane
rather than a radio-box. eg.

(accept `(member-alist ...) ... :view '(list-pane-view :visible-items 6))

-----
Colin Meldrum, Franz Inc.	1995 University Avenue, Suite 275         
colin@Franz.COM (internet)	Berkeley, CA 94704                       
uunet!franz!colin (uucp)	Phone: (510) 548-3600; FAX: (510) 548-8253

References:

Main Index | Thread Index