[graphic-forms-devel] Gfw:append-item

I tried the following: (defun move-txt-content (txt lb) (gfw:append-item lb (truncate-text (gfw:text txt))) It says I don't have the right amount of arguments. I was hoping that the arguments in the Documents were not all required so that I could just add a text string from a gfw:edit to a list box. Now that I know more are required. I am wondering if you can explain to me what I am supposed to put in the event dispatcher argument if I am just moving text from an gfw:edit to a gfw:list-box I am sure its some kind of short lambda function since I don't think there is really anything I need to do unless I am making a more robust application than I am. Any help is very much appreciated. Ken

Never mind I found if I pass nil nil to the append function it allows me to do what I want thanks. Ken -----Original Message----- From: graphic-forms-devel-bounces@common-lisp.net [mailto:graphic-forms-devel-bounces@common-lisp.net] On Behalf Of Ken Perry Sent: Tuesday, September 04, 2007 10:50 PM To: graphic-forms-devel@common-lisp.net Subject: [graphic-forms-devel] Gfw:append-item I tried the following: (defun move-txt-content (txt lb) (gfw:append-item lb (truncate-text (gfw:text txt))) It says I don't have the right amount of arguments. I was hoping that the arguments in the Documents were not all required so that I could just add a text string from a gfw:edit to a list box. Now that I know more are required. I am wondering if you can explain to me what I am supposed to put in the event dispatcher argument if I am just moving text from an gfw:edit to a gfw:list-box I am sure its some kind of short lambda function since I don't think there is really anything I need to do unless I am making a more robust application than I am. Any help is very much appreciated. Ken _______________________________________________ graphic-forms-devel mailing list graphic-forms-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/graphic-forms-devel
participants (2)
-
Ken Perry
-
Ken Perry