Re: 2 interface questions
Re: 2 interface questions
- Subject: Re: 2 interface questions
- From: Julien Guimont <email@hidden>
- Date: Thu, 6 Nov 2003 11:05:54 -0500
Hello,
I don't fully understand the first question but I think you want to put
open and save button in a window to match the open and save of the file
menu? In a Document based project you will have to connect the buttons
to the same actions the menus are connected to.
For the last question... if your operation take more than 2 sec to
execute, you must display a progress bar and you must use some thread
(NSThread) for the current thread (the run loop as you said) to
continue and display it. I suggest you read the documentation on
multithreading.
Bye!
Julien Guimont
www.juggysoft.com
From: John Kundert-Gibbs <email@hidden>
Subject: 2 interface questions
Date: Thu, 6 Nov 2003 01:19:06 -0500
To: email@hidden
HI, all,
2 (hopefully) quick questions:
1, I have a GUI that has 3 text fields in it for files. Currently I
have to type the full path and name of file myself. I'd like to pop
open a file browser window, and, when I click the "open" (or "save" in
one instance) button, have it set the text field with this file. Is
there an example anywhere of how to do this in interface builder?
2, My main program loop can take quite a while. Currently I display a
percentage done value in my console window, but I'd rather have a blue
progress bar go across one of those little windows (with a stop button
too). Again, is there an example anywhere of how to build and interface
this with my main code?
Thanks a bunch for the help!
John
John Kundert-Gibbs, Director
Digital Production Arts
Clemson University
404 Edwards Hall
Clemson, SC 29634
email@hidden
_______________________________________________
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.