| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi Philip, Wow! Again many thanks for that help and the time you invested. I do understand now, and it's also easy to implement now. Here the code if it would help anybody (given a popup with "No Grid, Vertical Grid, Horizontal Grid, Vertical & Horizontal Grid") on action theObject call method "setGridStyleMask:" of theTable with parameter (content of theObject) end (given a matrix with buttons "Vertical, Horizontal" where vertical has a tag 1 and horizontal has a tag 2) on clicked theObject set vGrid to ((content of cell 1 of theObject) as integer) * (tag of cell 1 of theObject) set hGrid to ((content of cell 2 of theObject) as integer) * (tag of cell 2 of theObject) call method "setGridStyleMask:" of theTable with parameter (vGrid + hGrid) end clicked (given a matrix with buttons "A, B, …" where tags start at 0) on clicked theObject set theP to 0 repeat with i from 1 to … set theResult to ((content of cell i of theObject) as integer) * (2 ^ (tag of cell i of theObject)) set theP to the theP + theResult end … end clicked What good book on the C language (as for a dummy/beginner) do you recommend? Kind regards Andreas On 04.06.2006, at 13:32, Philip Aker wrote:
|
_______________________________________________ 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: | |
| >Table View and grids (From: Andreas Kiel <email@hidden>) | |
| >Re: Table View and grids (From: Philip Aker <email@hidden>) | |
| >Re: Table View and grids (From: Andreas Kiel <email@hidden>) | |
| >Re: Table View and grids (From: Philip Aker <email@hidden>) |
| 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.