New topic: 

Storing Windows Location

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        DaveS          Post subject: Storing Windows LocationPosted: Wed 
Apr 17, 2013 2:01 pm                                 
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4760
Location: San Diego, CA                My app reads a file on startup that 
contains (amongst other things)... the coordinates and size of the application 
window when the user shut the app down, so that it can start in the same place 
next time.

For SOME reason... every once in a while it gets a bit annoyed and seems to go 
into a loop.... (dock icon bouncing)

I have traced it down to this line 

winMAIN.width=windows_width


And I CANNOT trap this.....  it either works, or it gets stuck.   TRY/CATCH 
does nothing. And the value of windows_width doesn't seem to be an issue.  
(Note : it sets LEFT/TOP in the two lines previous to this)

can anyone come up with

a) WHY this is an issue..... I would think that even if the values were not 
what I wanted... It would just make the window somewhere even if off screen  
(FYI... the value at the moment is 800, and left is 240... my screen is 1440 
wide)

b) trap this error, and log/ignore it.      
_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
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