logo       

Re: Change window.frame for Mac and Win 32: msg#02949

lang.realbasic.user

Subject: Re: Change window.frame for Mac and Win 32

You'll need to set it in the IDE.

Charles Yeomans

On Jan 29, 2004, at 7:24 PM, realbasic-Nh144dOA4fSN9aS15agKxg@xxxxxxxxxxxxxxxx
wrote:

I know this is probably a very simple answer but after I add the frame property to the new window class how do I set it to a value without using the open event?

Drew

On Jan 29, 2004, at 3:36 PM, Charles Yeomans wrote:

Sure. Write two separate window classes with the Frame properties set appropriately.

Charles Yeomans

On Jan 29, 2004, at 5:23 PM, realbasic-Nh144dOA4fSN9aS15agKxg@xxxxxxxxxxxxxxxx
wrote:

Unfortunately I open the modal window in the open event of another window and unless it is global it won't sit on top of the other window (in Win32 builds only). I have had this issue in other apps, I just don't want to comprise either the Mac or Win32 version in this app by making them both global floating.

Is there another option in v5.5?

Drew

On Jan 29, 2004, at 1:36 PM, Richard Altenburg wrote:

On 29-01-2004 22:28, "realbasic-Nh144dOA4fSN9aS15agKxg@xxxxxxxxxxxxxxxx" <realbasic-Nh144dOA4fSN9aS15agKxg@xxxxxxxxxxxxxxxx>
wrote:

I have an app that I am in the process of making cross-platform and I
would like a way to change a sheet window to a global floating window
depending on which version I compile for. It seems that this
window.frame property can not be changed at runtime, is there a way I
can build this in with targeted calls to the compiler?

Sheet windows behave like movable modal dialogs on Windows. If that is not
what you want, you might have to create a second window in your project that
you open on Windows builds. Or is there something in 5.5 that does this?


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

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




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

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



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

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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise