I want to use windowShouldClose: in my NSWindowController subclass to pop up a sheet asking if the user wants to save changes before closing with Save, Cancel, and Don't Save buttons.
The issue I'm running in to is that beginSheetModalForWindow:... uses a delegate instead of a return value.
I can return NO in windowShouldClose:, but th...
I am trying to display a custom sheet in my application, but I think I am doing something wrong. While everything seems to be working just fine, I have a rather odd side-effect. (which took hours to figure out). It turns out that everytime I display a sheet in my application, the Application delegate gets set to the instance of the sheet...
Trying to Build an Online D&d program which stores the character info into Tables my problem is the game works just fine while your playing but as soon as you exit game all varibles are lost which means you have to restart from scratch the next time you log on...
So this is a Two Fold Question
What is the Best type of External Sheet to s...
How does one react to menuitems that are clicked via mouse or invoked via keyboard, e.g: CMD+Q ?
[NSApp beginSheet:my_sheet ...arguments... ];
/*
The sheet is now shown and the mainmenu isn't usable.
How does one make it usable?
*/
[NSApp endSheet:my_sheet returnCode:0];
...
Hi all,
We have a project that will need to work in IE6,7,8.
I'm not that experienced with stylesheets, however I know there are various ways to load stylesheets depending on browser type.
My question is, is it possible to have a Master stylesheet that all of the browsers will use and then import an additional one that overwrites vari...
I have multiple action sheets in a view. I use the following code to get them to do an action but it seems to only work for the 1st button, not any of the other buttons.
How can I get it to work with the 2nd and 3rd button, etc.?
Here's the code:
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIn...