[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Action!
- To: mhaines@jarthur.claremont.edu
- Subject: Re: Action!
- From: "Robert Burnard" <rburnard@isx.com>
- Date: Mon, 18 Nov 91 09:37:07 PST
- Cc: info-mcl@cambridge.apple.com
- In-reply-to: <1991Nov17.063031.4484@muddcs.claremont.edu>
- Mail-system-version: <BBN/MacEMail_1.2.4@haifa>
Matthew,
It sound like you're doing the right thing. There must be something fairly
simple that is being overlooked (by the way, I concur with you about the
Action! manual, it is obtuse in the extreme!).
Here is some code which I know is trivial but should work:
In the code which defines the OK method:
(defmethod OK ((theApp AppName) &rest ignore)
"This method gets fired when the default button, or the return key,
is pressed."
some code... )
When you save an application from the Action! editor, the
APPNAME-INTERFACE.LISP should have this form in it:
(defexperinterface appname (superclass applicationedit)
...
(experobjects
(make-experobject 'buttonobject
:title "whatever"
:framecolor :black :bodycolor :white :textcolor :black
:boundsrect
(make-rect :left 14 :top 69 :right 111 :bottom 89)
:name :ok :action ':ok
:objapp self
:position-action :fixed)
... )
)
If this doesn't work, try burning some incense on the night of a full moon
and try again.
Good Luck,
Robert
--------
Robert Burnard
ISX Corporation
OFFICE:(818)706-2020 FAX:(818)706-2056
- References:
- Action!
- From: mhaines@jarthur.claremont.edu (Matthew Haines)