Indigo Rose Software
  #1  
Old 11-07-2003
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
StatusDlg not hiding.

I decided to add a StatusDlg to the picture Viewer project I posted earlier and it works very well when I select a folder that contains a small number of pictures. However, when I select a folder that contains a lot of images or recurse the subfolders, the StatusDlg does not hide at the end of the for loop.

Here is a snapshot of the code.

StatusDlg.SetMeterRange("1", pic_count);
StatusDlg.SetTitle("Please wait while your pictures are loaded.");
StatusDlg.Show(MB_ICONNONE, false);
for i,pic in pic_table do
ListBox.AddItem("ListBox1", "Image" .. i, pic);
StatusDlg.SetMeterPos(i);
end
StatusDlg.Hide();

Here is the full project if you want to try it yourself.

[EDIT] I wanted to add that the large number of pictures was over 1000 images.
Reply With Quote
  #2  
Old 11-07-2003
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
I added an Application.Sleep("1000") before the StatusDlg.Hide and it now works.
Reply With Quote
  #3  
Old 11-07-2003
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Yeah there were some problems with the status dialog in the version you have. I fixed them up the other day. They will be incorporated into the final beta early next week.
Reply With Quote
  #4  
Old 11-07-2003
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
Thanks,

I upgraded to 0.5.5.6 and it still did the same thing. I will check it out next week with the final beta.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 03:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software