• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Clearing cells in NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clearing cells in NSBrowser


  • Subject: Re: Clearing cells in NSBrowser
  • From: j o a r <email@hidden>
  • Date: Mon, 4 Nov 2002 14:14:52 +0100

What do you mean when you say "clear"? I assume that you want it to update it's contents from the data source / delegate? Usually you would do something like this:

[myBrowser loadColumnZero];

...or...

[myBrowser reloadColumn: n]; // Where "n" is the column to reload

You need to make sure that the data source / delegate has the new state first of course - or else the contents of the browser will be (should be!) the same after reloading.

j o a r


On Monday, Nov 4, 2002, at 13:08 Europe/Stockholm, Sanri Parov wrote:

I'm creating a DiskMaster-like utilty and I'm stuck into this problem:
clearing an NSBrowser.
I've tried changing the "state" with the method setState: but nothing.
I've tried also with something like..
for (i=0; i<numColumns; i++)
{
[browser selectRow:-1 inColumn:i]
}
but nothing the same...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Clearing cells in NSBrowser
      • From: Sanri Parov <email@hidden>
References: 
 >Clearing cells in NSBrowser (From: Sanri Parov <email@hidden>)

  • Prev by Date: Re: NSApplescript
  • Next by Date: Re: NSApplescript
  • Previous by thread: Clearing cells in NSBrowser
  • Next by thread: Re: Clearing cells in NSBrowser
  • Index(es):
    • Date
    • Thread