Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Full disclosure



I'd also like to see an example of how to use disclosure arrows. I'm interested in something similar to the Finder's Info window. Without thinking too much about it, I'd imagined having several custom views, nestled one above the other in a window. Each custom view has the disclosure button at the top. When the disclosure button is clicked, the height of the custom view containing it is toggled between tall and short, and the size of the window adjusted accordingly.

The second thing is that the bounds of a window requires a _4_ integer list, specifying the coordinates of opposing corners {left, bottom, right, top}; for example, {0, 0, 500, 250}.

MarkB

On 2003 Dec 09, at 13:51, T.J. Mahaffey wrote:

Has anyone had success making a disclosure arrow work?

I'm trying to do something like:

===
on click
set bounds of window "main" to {350, 400}
end click
===

But I'm throwing an error, despite defining the window's resize as true.

Can someone post a working example?
--
T.J. Mahaffey
email@hidden
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.