Hello,<br><br>When you click on the list, does it change the value?<br><br>I am getting this error when I click on an item in the list.<br><br>debugger invoked on a TYPE-ERROR in thread<br>#<THREAD "Stocks Window" RUNNING {100885EE33}>:<br>
The value NIL is not of type (MOD 4611686018427387901).<br><br>Thanks for testing it out.<br><br>On 08/04/12 20:30, Mariano Montone wrote:<br>> Hi.<br>> <br>> Your program runs without problems in my computer.<br>
> <br>> I'm running SBCL on Ubuntu<br>> <br>> Mariano<br>> <br>> (in-package :climi)<br>> <br>> (define-application-frame stocks-window ()<br>> ()<br>> (:geometry :width 640 :height 480 :left 64 :top 32)<br>
> (:panes<br>> (index-list (make-pane ':list-pane<br>> :id 'index-list<br>> :value '("A" "B")<br>> :items '("A" "B" "C" "D")<br>
> :mode ':nonexclusive<br>> :prefer-single-selection t<br>> :test #'string=)))<br>> (:layouts<br>> (default<br>> (clim-tab-layout:with-tab-layout ('tab-page :name 'layout :height<br>
> 480)<br>> ("A"<br>> (spacing<br>> (:thickness 8)<br>> (horizontally<br>> (:x-spacing 4 :y-spacing 4)<br>> (labelling (:label "List" :height 128 :width 192)<br>
> (scrolling (:scroll-bar t)<br>> (spacing (:thickness 0)<br>> index-list)))))))))<br>> (:menu-bar t))<br>> <br>> (define-stocks-window-command (com-quit :menu t) ()<br>
> (frame-exit *application-frame*)<br>> nil)<br>> <br>> (defvar *window-frame* nil)<br>> <br>> (defun window ()<br>> (flet ((run ()<br>> (let ((frame (make-application-frame 'stocks-window)))<br>
> (setf *window-frame* frame)<br>> (run-frame-top-level frame))))<br>> (sb-thread:make-thread #'run :name "Window")))<br>> <br>> (window)<br><br>