Mailing Lists: Apple Mailing Lists

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

Referencing a Combo Box in a Table view



Hi,
I need to use the combo box in a table view but can't find the correct syntax to address it.

So far I've succeeded in initializing its list using and retrieving selected value in the table data source.
set artT to table view "artTable" of scroll view "artTable" of window 1
call method "removeAllItems" of data cell of table column 5 of artT
call method "addItemsWithObjectValues:" of ( table column 5 of artT) with parameter the_values_list

set v to content of data cell nn of data row b of data source of artT

Can I use applescript statements for initialization like I do for a popup menu in the same table?
delete every menu item of menu of (table column 2 of artT)
make new menu item at end of menu items of menu of (table column 2 of artT) with properties {title:mytext, enabled:true}

How can I get the index of the selected item in the combo box list?

nino


 _______________________________________________
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



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.