New topic: 

Determining Order of Floating Windows

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

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        johnnyaction314          Post subject: Determining Order of 
Floating WindowsPosted: Mon Mar 07, 2011 10:34 am                         
Joined: Tue Feb 26, 2008 3:39 pm
Posts: 22                Hi Everyone, I have a little issue im trying to sort 
out. I have one floating window that acts as a search bar with a textfield on 
it. When the search bar has anything typed in it, another floating window opens 
and lists search results. I want the results window to almost act as an 
auto-complete field would where it looks like its dropping-down from the search 
bar. When the results window is open, I would like it to display in front of 
the the search bar no matter what. It all works/looks fine unless you click 
back to the search bar, in which case the search bar appears on top of the 
results box. I know I could do some coding in the Activate event on the search 
bar and re-show the search results window if its open, but im wondering if 
there is any sort of built in functionality in RB to control the order of 
floating windows automatically?   
                             Top                 mjh          Post subject: Re: 
Determining Order of Floating WindowsPosted: Mon Mar 07, 2011 11:09 am          
                       
Joined: Sun Feb 19, 2006 3:10 pm
Posts: 1131
Location: Hamburg, Germany                johnnyaction314 wrote:im wondering if 
there is any sort of built in functionality in RB to control the order of 
floating windows automatically?
Not that I know of. On the other hand, if you want the results window to appear 
to drop down from the search window, why don’t you just make it one window 
instead of two? You could have a listbox or whatever you use for presenting the 
results below the search field. The listbox would be invisible at first since 
the window height would be such that only the search bar was visible. Once you 
have collected the search results you would expand the window height to also 
show the listbox.      
_________________
Michael J. Hußmann 
http://digicam-experts.de  
                             Top                Jym          Post subject: Re: 
Determining Order of Floating WindowsPosted: Mon Mar 07, 2011 12:33 pm          
               
Joined: Sat Oct 01, 2005 5:19 pm
Posts: 2281                what's wrong with MyFloatingWindow.ShowModal?   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 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