![](https://secure.gravatar.com/avatar/a7f8cd7125eac92b9a92113fb8df6aab.jpg?s=120&d=mm&r=g)
17 Nov
2015
17 Nov
'15
4:26 a.m.
Hello, I'm trying to use the validatecommand of entry. The following code throws an error. How do I use it correctly? Thanks, Frank (defun foo () (with-ltk () (let ((e (make-instance 'entry :text "hello world!" :validate "focusin" :validatecommand (lambda () (format t "validating..."))))) (pack e)))) (foo) #| invalid command name "1" invalid command name "1" while executing "1" (in -validatecommand validation command executed by .wc) |#