[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Having problem with set-dialog-item-text function
- To: bhuiyan@skorpio.usask.ca
- Subject: Re: Having problem with set-dialog-item-text function
- From: Bill St. Clair <bill>
- Date: Tue, 11 Sep 90 08:13:52 -0400
- Cc: info-macl@cambridge.apple.com
- In-reply-to: Your message of Tue, 11 Sep 90 01:33:26 -0400. <9009110533.AA23093@skorpio.USask.ca>
Resent: Tue, 11 Sep 90 08:04:00 -0400
Resent: "all "
Date: Tue, 11 Sep 90 01:33:26 EDT
From: bhuiyan@skorpio.usask.ca
Subject: Having problem with set-dialog-item-text function
To: info-macl@cambridge.apple.com
X-Envelope-To: info-macl@cambridge.apple.com
While trying to initialize a dialog text as following:
(...
:dialog-item-text
(set-dialog-item-text
(getf init-list :text)).....)
I am getting the following error message:
:ERROR function SET-DIALOG-ITEM-TEXT is undefined
while exicuting EXIST
Could someone tell me where is my mistake?
Shawkat Bhuiyan
U. of Saskatchewan
Canada
This is a mighty small code fragment to go on, but I'll make some
assumptions about the environment in which it's trying to run. Looks
like it's inside the EXIST method for a window, in which case the
SET-DIALOG-ITEM-TEXT is undefined because *WINDOW* has no method for
SET-DIALOG-ITEM-TEXT. Maybe what you meant to say was:
(defobfun (exist *my-window*) (init-list)
...
(oneof *xxx-dialog-item* ; some kind of dialog-item
...
:dialog-item-text (getf init-list :text)
...)
...)
Bill