CLIM mail archive

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

please HELP! with accept-values-pane problem



    Date: Thu, 23 Sep 1993 05:04 EDT
    From: rudolf mittelmann <rm@cast.uni-linz.ac.at>

    (clim:define-application-frame avp-test
      ()
      ()
      (:panes
       ((menu :command-menu
	      :default-text-style (clim:make-text-style :sans-serif :bold :small))
    
	(avp-edit-area  :accept-values
			:display-function '(clim:accept-values-pane-displayer
					    :displayer display-avp-pane)
			:display-after-commands t
			:scroll-bars :vertical
			:end-of-line-action :allow
			:end-of-page-action :scroll)
	
You have fallen into the trap of over-specifying things.  The problem
with over-specifying is that it is easy to get things wrong, which is
what you have done here.  :DISPLAY-AFTER-COMMANDS T is incorrect --
:ACCEPT-VALUES actually use :DISPLAY-AFTER-COMMANDS :NO-CLEAR.
	
If you omit the :DISPLAY-AFTER-COMMANDS option altogether, this will
probably work properly.

	(design-area :application
		     :display-function 'display-design-area
		     :display-after-commands t
		     :incremental-redisplay t
		     :scroll-bars :both
		     :end-of-line-action :scroll
		     :end-of-page-action :scroll)
	))
      (:command-table (avp-test :inherit-from (clim:accept-values-pane)))
      (:layout
       ((main
	 (:column 1
		  (menu :compute)
		  (design-area :rest)
		  (avp-edit-area 1/2)
		  )
	 ))))



References:

Main Index | Thread Index