• 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
NSBrowser's column 0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser's column 0


  • Subject: NSBrowser's column 0
  • From: francois fauteux <email@hidden>
  • Date: Fri, 19 Aug 2005 13:03:31 -0400

Hi !

I am trying for a while to set the browser's column 0 to /mypath in
SimpleBrowser.

- (NSString*)fsPathToColumn:(int)column {
    NSString *path = nil;
    if(column==0) path = [NSString stringWithFormat:
@"/mypath/children1/etc..."];
    else path = [fsBrowser pathToColumn: column];
    return path;
}

What should I tell in " else path = [...] " so that the browser will
keep displaying subDirectory and will keep up with the actions I''ve
set for singleClick and doubleClick ?

Actually, the display is correct in column 0 but selection don't open
subdirectory in column 1 and also the action set for doubleClick
doesn't work no more.

All help will be extremely appreciated.

François Fauteux
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: add help button to presentError: alert?
  • Next by Date: NSImage opacity or contrast (brightness)
  • Previous by thread: add help button to presentError: alert?
  • Next by thread: NSImage opacity or contrast (brightness)
  • Index(es):
    • Date
    • Thread