Re: How to code a TableView into a CustomView?
Re: How to code a TableView into a CustomView?
- Subject: Re: How to code a TableView into a CustomView?
- From: "Mark's Studio" <email@hidden>
- Date: Fri, 9 Nov 2001 18:19:49 +0100
On fredag, november 9, 2001, at 05:58 , Erik M. Buck wrote:
>
First, NSTableView already has the ability to add and remove columns.
>
Second, read the documentation on NSView paying attention to
>
-addSubview:
>
and -removeFromSuperview:
>
Third, users generally hate it when views appear and disappear.
>
Consider
>
having all of the tables visible all of the time and disabling tables
>
that
>
are not relevant at the moment. That way users know everything that is
>
available and are not surprised by new tables appearing or disappearing.
Yes but how do i disable the tableview?
>
>
----- Original Message -----
>
From: "Mark's Studio" <email@hidden>
>
To: "Erik M. Buck" <email@hidden>
>
Cc: <email@hidden>
>
Sent: Friday, November 09, 2001 10:39 AM
>
Subject: Re: How to code a TableView into a CustomView?
>
>
>
> Thanks for your replay
>
>
>
> On fredag, november 9, 2001, at 03:38 , Erik M. Buck wrote:
>
>
>
>> Your question does not make any sense. You don't need a "CustomView"
>
>> to
>
>> display a single column table view with a vertical scroll view. Do
>
>> you
>
>> want
>
>> to add a table view as a subview of your custom view ? Do you want to
>
>> subclass NSTableView to create your custom view ?
>
> I want to add a tableview to my custom view, actually i want to be able
>
> to put more than one into my customview
>
> I Know how to do it with IB, but i need to code it so i can add and
>
> remove them when they are needed by the UI.
>
> The other option i tried was to make them in IB, and then remove the
>
> view and that worked but i could not
>
> figure out how to display it again.
>
>
>
>>
>
>> ----- Original Message -----
>
>> From: "Mark's Studio" <email@hidden>
>
>> To: <email@hidden>
>
>> Sent: Friday, November 09, 2001 4:15 AM
>
>> Subject: How to code a TableView into a CustomView?
>
>>
>
>>
>
>>> How do i code a TableView into a CustomView
>
>>>
>
>>> I want to display a single column tableview with a vertical
>
>>> scrollview
>
>>> in a CustomView,
>
>>> but i can't figure out how to do it.
>
>>>
>
>>>
>
>>> Peter Mark
>
>>>
>
>>> Mark's Recording Studio A/S
>
>>> Faelledvej 19 b DK2200 N
>
>>> Copenhagen Denmark
>
>>> Tel: +45 35366078 Fax: +45 35366038
>
>>> www.marks-studio.dk
>
>>> email@hidden
>
>>> _______________________________________________
>
>>> cocoa-dev mailing list
>
>>> email@hidden
>
>>> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
>>
>
>>
>
>>
>
> Peter Mark
>
>
>
> Mark's Recording Studio A/S
>
> Faelledvej 19 b DK2200 N
>
> Copenhagen Denmark
>
> Tel: +45 35366078 Fax: +45 35366038
>
> www.marks-studio.dk
>
> email@hidden
>
>
>
>
>
Peter Mark
Mark's Recording Studio A/S
Faelledvej 19 b DK2200 N
Copenhagen Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden