Re: refresh+update on macosx

Steve Cookson <[email protected]>
Newsgroups gmane.comp.lang.perl.wxperl
Message-ID <[email protected]>
Hi Eric,

On 11/11/14 21:18, Erik Colson wrote:
> Steve Cookson <[email protected]> writes:
>> What is your requirement?
> For this I don't want to let the user interact. I wan't the user to see
> what's happening by telling him in a log window (TextCtrl). So I don't
> want any user interaction to be possible. It sounds awkward and very
> user unfriendly but this really is the best way to go.
I have the same issue.

I'm loading a complex screen with multiple photos and videos.  I also 
have many complex medical diagnoses to lookup and the SQL is a bit 
slow.  On top of all this there are the vaguaries of networks. It can 
take 30-40 seconds.

I use a progress bar with about 10 steps and messages which change (see 
attached to this email).  I needed to use $app->Yield() to make it 
refresh properly.

But actually, I like your idea.  You could make it very 'high tech' 
style.  Some colour would be nice.  I think Wx::TextCtrl supports 
colour.  If you have any error messages, these could be in red with a 
larger font.  Or if there is important information this could be bold.

The advantage of scrolling over flashing text messages is that you can 
scroll back.

Good luck,

Steve.
MediaLibrary1.png (image/png, 8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.