Summary:
ChasingArrows - Requires Event Loop Pass to Spin
Report Reference ID:
<http://support.realsoftware.com/feedback/viewreport.php?
reportid=ugrhqyfh>
Development Environment:
5.5.4 Mac OS X OS: Mac OS 10.3
Issue appears in:
Built Application -- Carbon OS: Mac OS X 10.3
Severity:
Incorrect Functionality
Description:
Typically a Refresh is used to spin or move a ChasingArrows or
ProgressBar while inside a loop. However this doesn't work with
ChasingArrows controls at the moment. Instead it needs and event loop
pass (such as with App.DoEvents) to actually spin.
Drop a ChasingArrows and a ProgressBar (set to indeterminate) in a
Window and stick the code below in a button.
Sub Action()
dim t as Integer
ChasingArrows1.Visible = True
ProgressBar1.Visible = True
t = Ticks
while Ticks - t < 60 * 3
//////// Enable This ///////////
'ChasingArrows1.Refresh
'ProgressBar1.Refresh
////////// Or This /////////////
'App.DoEvents
wend
ChasingArrows1.Visible = False
ProgressBar1.Visible = False
End Sub
I would expect that with the first case above, when the ChasingArrows
is refreshed it should actually spin, but it doesn't. The progress bar
does however. Instead, the ChasingArrows requires that an event loop
pass for it to actually spin.
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
A one-question geek test. If you get the joke, you're a geek:
Seen on a California license plate on a VW Beetle: "FEATURE"
-- Definitely A Geek
------------------------------------------------------------------------
---
_______________________________________________
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>
|