Questions tagged [cocoa-sheet]

A window in OS X that slides down from the top of its parent window.

One of the feature for OSX that creates a window that slides from top to the parent window..called as Sheet.

This is modal to the window.

This is used as:

- (IBAction)showSheet:(id)sender {
    [NSApp beginSheet:self.sheetWindow
       modalForWindow:self.window
        modalDelegate:self
       didEndSelector:nil
          contextInfo:nil];
}

- (IBAction)closeSheet:(id)sender{
    [NSApp endSheet:self.sheetWindow];
    [self.sheetWindow orderOut:nil];

}
50 questions
0
votes
2 answers

Mac OS X like sheets on iOS SDK

Right now I am building an app that would like to present an ViewController. I was wondering of there was any control that would display this like a os x sheet on an iPad. If there is no control available, how would I go about achieving such a…
virindh
  • 3,775
  • 3
  • 24
  • 49
0
votes
1 answer

NSForm disappearing from custom sheet

I've made a custom sheet and it appears and disappears as necessary. However, the sheet includes an NSForm that disappears when automatic cell resizing is disabled. When "Auto recalculate cell size" is enabled, the form appears but the form's cells…
joeythrift
  • 29
  • 6
0
votes
3 answers

Modal session requires modal window

I'm trying to open a window like a sheet so that it appears down below the toolbar. I've used the O'Reilly tutorial to do this. However, I can get past this error: Modal session requires modal window. The window loads as a window if I have "Visible…
Iron Mike
  • 76
  • 1
  • 8
0
votes
1 answer

beginSheet modalForwindow: nil position?

I'm trying to understand how - (void)beginSheet:(NSWindow *)sheet modalForWindow:(NSWindow *)docWindow modalDelegate:(id)modalDelegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo chooses the position on my window since it's…
Matthieu Riegler
  • 31,918
  • 20
  • 95
  • 134
0
votes
2 answers

How to change the alpha of a window shown as a sheet?

In cocoa, do you know how to change the alpha of a window shown as a sheet? I launch the window with this function and the app always makes the window semi-transparent, I don't want that. - (void)beginSheet:(NSWindow *)sheet modalForWindow:(NSWindow…
user825574
  • 71
  • 6
1 2 3
4