Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-08-2004, 04:23 AM
Member
 
Join Date: Sep 2003
Posts: 95
Default Message box causing problems.

I have an executable that every now and again pops a dialog box up prompting the user to click either "yes" or "no".

This is all well and good, but some of the scenes in the executable have a form on them for users to e.g. put their name etc on.

If the dialog box is prompted above this form, the focus is taken away from the form, and onto the dialog box.

This presents a problem in that if the user clicks "no" and returns back to the form, the focus remains away on the dialog box, and thus the user has to click somewhere on the form to return back to it. Which is not desirable.

I've tried putting code so that every time a response is received from the dialog box, it will try and re-activate the form so that the user doesn't have to physically click it to enter text again.

something like e.g.

if (reply) {
MainWindow = getMainWnd();
MainWindow.show();
MainWindow.enable = true;
MainWindow.bringToTop();
}

None of those seem to work....

Any ideas on how to return the focus back to the form?

Sorry if this all seems a bit confusing....
Reply With Quote
  #2 (permalink)  
Old 01-08-2004, 06:11 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re:Message box causing problems.

I think we might have experienced the same problem
Quote:
Re:Selection.setFocus for FLASH APPEARS DISABLED
« Reply #2 on: August 23, 2003, 07:07:54 PM »

--------------------------------------------------------------------------------
It's really a bug. The same bug like this is the Shell.runAndWait method. When the method returns, the projector lost focus.

It has already been fixed in our new version that is still under testing.

Earlier, the swfkit-team has developed a special version of the projector that fixed that problem for me.
If you want it (before the new version comes out), I can look it up and mail it to you.
Let me know

Cheers
meester

Let me know
Reply With Quote
  #3 (permalink)  
Old 01-12-2004, 03:41 AM
Member
 
Join Date: Sep 2003
Posts: 95
Default Re:Message box causing problems.

Thanks Meester.

Probably the safest way is me to email the support guys.

I've already had a couple of updates from them, and the last thing I need to do is install a patch that wipes out those changes.

Good to know it can be fixed though, I will email them now.

Thanks for your help,

G.
Reply With Quote
  #4 (permalink)  
Old 01-12-2004, 12:56 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Message box causing problems.

Hi, sorry

This is another focus bug other than the one met by meester. It can be fixed by a Windows call, while the dll calling functions were not opened in SWFKit 1.1, we have to make an ActiveX object for you.

Please check mail.
Reply With Quote
Reply

Was this information helpful?    Yes No



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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:47 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.