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: Popup vs pulldown menu



At 02:40 p -0500 02/09/2007, email@hidden didst inscribe upon an electronic papyrus:

Hello,
Clearly, addressing a pulldown menu is different from a popup menu. This codes works well:


tell window "winTransfer"
set current menu item of popup button "popCodes" to menu item 1 of menu of popup button "popCodes"
set contents of text field "txtCodes" to ""
end tell


Go into Inspector and change the type from "popup" to "pulldown" and nothing works. And, no, doing the logical thing and changing "popup" button to "pulldown" button in the above code does not help.

Unfortunately, I see nothing illuminating in the documentation on this matter


Pulldown menus do not have a current item; the notion is irrelevant.

Does that help?

Pulldown menus are for running commands, while popup menus are for displaying and selecting a setting. Method vs. property, blah blah blah.

-boo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden
References: 
 >Popup vs pulldown menu (From: email@hidden)



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.