gettingstarted
[Top] [All Lists]

Re: [RB] forcing WindowFocus

To: REALbasic Getting Started List <gettingstarted at lists dot realsoftware dot com>
Subject: Re: [RB] forcing WindowFocus
From: Paul Goodrich <paul at zonestation dot com>
Date: Wed, 30 Mar 2005 15:41:23 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
Hi,

As was pointed out already, you can't set the frame at runtime in this
manor.  Something that I missed for a while after starting to use RB, was
that in the manuals any property that is in Bold is read-only.  You can't
change read-only properties at runtime, only in the IDE.

Regards,

Paul


on 3/30/05 2:58 PM, Eirik Karlsen wrote:

> Well...I think I did that in window2's OpenEvent, like this: self.frame=1
> ...and it didn't work as expected.
> 
> Setting movableModal in the editor worked though....(?)
> 
> 
> David Grogono wrote:
> 
>> On 3/30/05 3:23 PM, "Eirik Karlsen" <eikarlse at online dot no> wrote:
>> 
>>> In a two window application how do I force window2 to have focus (over
>>> window1) for as long as window2 is open...
>>> alternatively to clear focus for window2....might give the same result ?
>>> 
>>> I just want to keep the main window in the background while the smaller
>>> window2 in ontop of window1...
>> 
>> It sounds like you should make Window2 a modal dialog.  This is done by
>> changing the 'Frame' of the window in the properties window.  I'd recommend
>> using '1 - Movable Modal'.
>> 
>> -David
> 
> --
> *******************************************
> VISIT MY HOME PAGE:
> <http://home.online.no/~eikarlse/index.htm>
> LAST UPDATED: 23/08/2003
> *******************************************
> Regards
> Eirik Karlsen
> 
> 
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
> 
> 


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>