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: Button in a table view



Thanks for the reply - and sorry I wasn't clear with my question.

I was looking for some code to add a table column with a checkbox in code - not in IB
Last night I found the solution, I was missing one line.
So in case anybody else could need it, here is a sample project
http://www.spherico.com/buildTableView.zip


Thanks
Andreas

On 23.06.2006, at 03:40, Matt Neuburg wrote:


On Wed, 21 Jun 2006 11:00:35 +0200, Andreas Kiel <email@hidden>
said:


Hi all,

Maybe somebody can give me a hint where to search or help to solve
the below problem.

I have a table view connected to a database (with about 100 columns).
About 70 of this columns could be visually helpful for the user - but
it depends. So I searched for a way to setup/build the table view on
the fly, which works fine with text only cells, I even succeeded to
make images work (though I don't need them), but never with a check
button.

Any help is really appreciated.


That's nice, but you're not saying what the problem is. What is it that you
want to do? It sounds like you might be saying you want to add to an
existing table view a column consisting of checkboxes; is that right? If so,
what's the hard part for you? In other words, what is there about your
technique for adding an image column that "never succeeded" with a checkbox
column? Basically, you just create a table column with a data cell that is a
button cell whose type is checkbox (switch). m.


--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>






_______________________________________________
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: 
 >Re: Button in a table view (From: Matt Neuburg <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.