New topic: 

Open/Save folder dialog as global floating window on Mac?

<http://forums.realsoftware.com/viewtopic.php?t=31391>

       Page 1 of 1
   [ 7 posts ]                 Previous topic | Next topic         Author  
Message       Oskar           Post subject: Open/Save folder dialog as global 
floating window on Mac?Posted: Thu Dec 03, 2009 1:57 am                        
Joined: Sat Nov 26, 2005 4:51 am
Posts: 96              Is it possible to have an open/save folder dialog as 
global floating window on Mac? Both when opening files and when saving files. I 
need it to stay in front of any other global floating window as I don't want to 
close them first, but the default open/save folder window type is a modal 
dialog and that is displayed behind the global floating windows. Thanks in 
advance for any help on this.

Regards,
- Oskar      

    Last edited by Oskar on Thu Dec 03, 2009 2:04 am, edited 1 time in total.   
                            Top               sbeach           Post subject: 
Re: Open/Save folder dialog as global floating window on Mac?Posted: Thu Dec 
03, 2009 2:04 am                        
Joined: Wed May 10, 2006 1:27 pm
Posts: 62              Yes but you'd have to develop your own and try to match 
the appearance/functionality of the default UI.     
_________________
-Sean  
                            Top               Oskar           Post subject: Re: 
Open/Save folder dialog as global floating window on Mac?Posted: Thu Dec 03, 
2009 2:06 am                        
Joined: Sat Nov 26, 2005 4:51 am
Posts: 96              You mean I need to build my own class from scratch or 
can I use existing RB classes for that?   
                            Top               sbeach           Post subject: 
Re: Open/Save folder dialog as global floating window on Mac?Posted: Thu Dec 
03, 2009 4:31 am                        
Joined: Wed May 10, 2006 1:27 pm
Posts: 62              You would use existing RB classes such as 
folderitem/window/listbox etc.  But you would have to generate your own window 
to handle the user input.

There are good theoretical and practical issues that make a modal window make 
sense- for example the ability to modify the data in the middle of the save 
sequence:
imagine you have a word editor.  You type "charlie" and hit save. Nows that 
your window is not modal, you can change "charlie" to "frank" and then hit 
save.  What did the user really want to save, whats there now or what was there 
when they hit the save button originally.

Can you clarify what exactly youre trying to achieve by making the save 
dialogue a global floating window?     
_________________
-Sean  
                            Top               Oskar           Post subject: Re: 
Open/Save folder dialog as global floating window on Mac?Posted: Thu Dec 03, 
2009 6:45 am                        
Joined: Sat Nov 26, 2005 4:51 am
Posts: 96              Basically I have some global floating windows in my app 
and I need the open/save window to stay in front of them as I don't want to 
close them first, but the default open/save folder window type is a modal 
dialog and that is displayed behind the global floating windows.   
                            Top               mjh           Post subject: Re: 
Open/Save folder dialog as global floating window on Mac?Posted: Thu Dec 03, 
2009 6:51 am                        
Joined: Sun Feb 19, 2006 3:10 pm
Posts: 469
Location: Hamburg, Germany              No offense, but I think that’s a 
flawed design. First you create global floating windows so they stay on top of 
everything else, then you need a window that is on top of even those floating 
windows. Surely there’s a better way?     
_________________
Michael J. Hußmann 
http://digicam-experts.de  
                            Top               Oskar           Post subject: Re: 
Open/Save folder dialog as global floating window on Mac?Posted: Thu Dec 03, 
2009 6:59 am                        
Joined: Sat Nov 26, 2005 4:51 am
Posts: 96              Well, that was my first thought as well, but due to some 
other problems I decided to keep the main app window as global floating. I will 
try and redesign the whole thing if I have no option. Hiding the app window 
before opening the folder dialog is something I also considered but don't 
really like it.   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 7 posts ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to