| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi. I am hoping someone can help me write the correct code to change the title of a line of text associated with a radio button.
I created a window "main" with a matrix "radioMatrix" containing two rows of radio buttons (all in the same matrix). I gave the first row the name "firstChoice" and the second row "second choice". Using the Interface Builder I can change the title of each row manually, but I would like to do it in the AppleScript application itself. To change the title of a regular button seems straightforward, such as:
set title of button "regularButton" of window "main" to "a new title"
But I can't figure out how to do this for radio buttons.
I tried the following (and many other variations):
set title of button "firstChoice" of matrix "radioMatrix" of window "main" to "new title"
Using button cell did not seem to help either, and I am stuck.
Can anyone help guide me in the right direction? I am using Project Builder 2.1, Interface Builder 2.3.2, and OS X 10.2.8. Please let me know if I need to elaborate or explain anything else sine I may not have made myself clear enough.
Thanks.
David H.
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.