Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Sheet not autodisplaying

Sheet not autodisplaying
Thread Tools
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status: Offline
Reply With Quote
Aug 30, 2002, 01:49 PM
 
I have a sheet that I am displaying using:

[NSApp beginSheet: theAddCameraPanel
modalForWindow: theWindow
modalDelegate: nil
didEndSelector: nil
contextInfo: nil];

The NSComboBoxes I have inside of the sheet are not displaying the text as the user types it. The display is only updated when the user clicks in the window. I have set [theAddCameraPanel setAutodisplay: YES] and even told the NSComboBoxes that they need displaying (as well as theAddCameraPanel) inside of the delegate functions called when the user types. What gives?

BTW, theAddCameraPanel is defined as a window--not a panel (not that it made a difference changing it). I do also have functions elsewhere that close the sheet and pull the values from it. Best I can tell so far, that stuff works.
(Last edited by Detrius; Aug 30, 2002 at 01:57 PM. )

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
Detrius  (op)
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status: Offline
Reply With Quote
Aug 30, 2002, 03:38 PM
 
Duh. That'll teach me not to play with settings that I'm not really sure what the do in Interface Builder. (i.e. I got it working)

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:43 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2