FROM : Daniel Todd Currie
DATE : Tue Nov 02 12:19:52 2004
I think what you actually want is a custom cell, if I understand your
needs correctly. This should be a relatively simple thing to do, I
recommend looking at:
file://Developer/Examples/AppKit/DragNDropOutlineView/ImageAndTextCell.m
This custom cell is composed of an image cell and a text cell; you can
make them whatever size you want, and can orient them however you want.
You could have it made up of 20 text cells, if you want. This is the
basic implementation used in Finder.app for files with icons.
-- DTC
On 2004 Nov 02, at 03:01, Alexander F. Hartner wrote:
> I am trying to build a composite controll, like the one used in the
> address book to display and capture the address details.
>
> I am contemplating two options:
>
> 1.) To construct a controll by nesting various component inside each
> other, like one would do using Java Swing. Having a Java back ground
> this
> seems practical, but I don't know how to apply this in cocoa.
>
> 2.) To construct a custom view. I think this might be the preferred
> Cocoa
> approach, yet I haven't found any examples of controlls being
> dynamically
> added to a view.
>
> I would really appreciate any suggestion on how this is done using
> Cocoa.
> Any examples, or link to examples, would also be really great.
>
> Thanks
> Alex
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>
>
DATE : Tue Nov 02 12:19:52 2004
I think what you actually want is a custom cell, if I understand your
needs correctly. This should be a relatively simple thing to do, I
recommend looking at:
file://Developer/Examples/AppKit/DragNDropOutlineView/ImageAndTextCell.m
This custom cell is composed of an image cell and a text cell; you can
make them whatever size you want, and can orient them however you want.
You could have it made up of 20 text cells, if you want. This is the
basic implementation used in Finder.app for files with icons.
-- DTC
On 2004 Nov 02, at 03:01, Alexander F. Hartner wrote:
> I am trying to build a composite controll, like the one used in the
> address book to display and capture the address details.
>
> I am contemplating two options:
>
> 1.) To construct a controll by nesting various component inside each
> other, like one would do using Java Swing. Having a Java back ground
> this
> seems practical, but I don't know how to apply this in cocoa.
>
> 2.) To construct a custom view. I think this might be the preferred
> Cocoa
> approach, yet I haven't found any examples of controlls being
> dynamically
> added to a view.
>
> I would really appreciate any suggestion on how this is done using
> Cocoa.
> Any examples, or link to examples, would also be really great.
>
> Thanks
> Alex
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>
>
| Related mails | Author | Date |
|---|---|---|
| Alexander F. Hartn… | Nov 2, 12:01 | |
| Daniel Todd Currie | Nov 2, 12:19 | |
| stephane sudre | Nov 2, 12:33 | |
| M. Uli Kusterer | Nov 5, 00:45 |






Cocoa mail archive

