gettingstarted
[Top] [All Lists]

Re: Smooth Window Resizing

To: gettingstarted at lists dot realsoftware dot com
Subject: Re: Smooth Window Resizing
From: lists at pdf-konverter dot de
Date: 25 Oct 2003 22:53:26 UT
Importance: normal
Priority: normal
Hallo,

For i=currentHeight to maxHeight
window1.height=i
window1.refresh
next



-------- Original Message --------
Subject: Smooth Window Resizing (25-Okt-2003 19:00)
From:    danweber at gwu dot edu
To:      lists at pdf-konverter dot de

> Is there any way to do smooth window resizing in Realbasic? 
> Similar to OS X, in the system preferences, when the window 
> animatedly resizes, according to the amount of space the 
> objects inside the window take up. I'm trying to implement 
> this in my preferences window, but without much luck. My 
> only guess was to create a For...Next loop that increased the 
> height of window incrementally:
> 
> currentHeight=window1.height
> maxHeight=500
> For i=currentHeight to maxHeight
> window1.height=i
> next
> 
> But that didn't work at all. The window resized, but it didn't 
> animate it. Any ideas how this could work?
> 
> Also, one more quick question--is it possible to execute some 
> code that is stored in an editfield? For example, if I had the 
> string, MsgBox "Hello", in an editfield, is there any way to 
> execute that command directly during runtime?
> 
> 
>  - - -
> 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>