Indigo Rose Software
  #1  
Old 03-04-2008
stickck's Avatar
stickck stickck is offline
Forum Member
 
Join Date: Feb 2004
Location: Probably somewhere I shouldn't be
Posts: 614
StatusDlg.IsVisible?

I might be missing something somewhere. If a user hits the Esc key, it closes the StatusDlg but doesn't trigger the Cancel button scripts. It would be nice to check if StatusDlg is visible or just have it programmed that the Esc key triggers the Cancel button. I would just use the On Key here but there isnt one for the StatusDlg.


If I'm missing something here, could someone please point me in the right direction?

thanks

Chris
Reply With Quote
  #2  
Old 03-10-2008
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
Thanks, we'll look into that.

REF: 17292
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
  #3  
Old 03-11-2008
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
I believe that you are mistaken for this one. This was updated in another product and seems to be fixed in AutoPlay as well as of version 7.1.1005.0. If the cancel button is visible, the StatusDlg.IsCancelled action does react to the Esc key being pressed, just like it would if you pressed the button. If it isn't visible, it will just be ignored.
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
  #4  
Old 03-11-2008
stickck's Avatar
stickck stickck is offline
Forum Member
 
Join Date: Feb 2004
Location: Probably somewhere I shouldn't be
Posts: 614
yea, that's my problem. if i need to hide the cancel button, then i dont want the user to be able to close the dialog which would stop the process that was running. but, right now, i can hit esc (with the cancel button hidden) and it closes the dialog but i does NOT stop the process. The process keeps running in the background. I found this because i have a dialog message popup and prompt the user if the current directory is the correct directory to use.

So it should ignor the Esc key if the Cancel button is not visible? if that's what it should do, it's not working that way.

I'll post a sample if you need.

Chris
Reply With Quote
  #5  
Old 03-11-2008
stickck's Avatar
stickck stickck is offline
Forum Member
 
Join Date: Feb 2004
Location: Probably somewhere I shouldn't be
Posts: 614
Darryl,

I owe you a beer / soda! I must have started this project before you guys released this last update. You're right! It works correctly now.

I'm so sorry to waste you time.

Thanks for the help with this.

Chris

Reply With Quote
  #6  
Old 03-11-2008
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
No problem at all, I initially thought that the fix wasn't shared with AutoPlay, so I'm happy to hear that it is indeed working correctly.
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
  #7  
Old 03-11-2008
stickck's Avatar
stickck stickck is offline
Forum Member
 
Join Date: Feb 2004
Location: Probably somewhere I shouldn't be
Posts: 614
I'll mess with it some more tonight to make sure again.

chris
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 08:14 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