www.f-in-box.com Forum Index www.f-in-box.com
F-IN-BOX
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
F-IN-BOX Home | DLL Edition | Delphi Edition | .NET Edition

Navigatimg within Flex TextBox

 
Post new topic   Reply to topic    www.f-in-box.com Forum Index -> .NET Edition
View previous topic :: View next topic  
Author Message
seesharp



Joined: 30 Oct 2006
Posts: 82

PostPosted: Sat Jan 06, 2007 7:23 am    Post subject: Navigatimg within Flex TextBox Reply with quote

Hi

(using f_in_box__control)

if I have a movie (Flex, AS3, FlashPlayer9) with some text boxes, I cannot navigate within the text using the arrow keys.
This works with FlashPlayerControl as expected.

Alex
Back to top
View user's profile Send private message
Softanics
Site Admin


Joined: 18 Sep 2004
Posts: 1386
Location: Russia, St. Petersburg

PostPosted: Sat Jan 06, 2007 8:26 pm    Post subject: Reply with quote

Thank you for your question.

FlashPlayerControl implemented IsInputKey method (the implementation always returns true), f_in_box__control doesn't implement this method. That's why TAB doesn't work properly.

For some movies, TAB should be handle by a f_in_box__control, for others, f_in_box__control must not handle TAB. The same for ENTER, LEFT ARROW, RIGHT ARROW etc.

We are ready to include some property / method / event that specify what keys should be processed by a f_in_box__control. What do you think about the following implementation: we will include the event IsInputKey, and if your movie should handle TAB itself, you just handle this event and return true if passed key is TAB. I think, that will be enough to resolve this problem...

With current f_in_box__control version, you can create derived class from f_in_box__control and override IsInputKey method. But I think that additional event would be better solution.
_________________
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html
Back to top
View user's profile Send private message Send e-mail Visit poster's website
seesharp



Joined: 30 Oct 2006
Posts: 82

PostPosted: Sat Jan 06, 2007 8:38 pm    Post subject: Reply with quote

Thanks for the reply

in other words, this event would allow me to decide myself which key inputs shall be passed to Flash and which should be handled by f_in_box__control itself ?

I think that might be a perfect solution. I didn't test yet but will it be the same for f_in_box__form then ?


Thanks and good night

Alex
Back to top
View user's profile Send private message
Softanics
Site Admin


Joined: 18 Sep 2004
Posts: 1386
Location: Russia, St. Petersburg

PostPosted: Sat Jan 06, 2007 8:42 pm    Post subject: Reply with quote

seesharp wrote:

in other words, this event would allow me to decide myself which key inputs shall be passed to Flash and which should be handled by f_in_box__control itself ?


Yes.

seesharp wrote:

I think that might be a perfect solution.


OK. I will add it in the nearest time and will post here about that.

seesharp wrote:

I didn't test yet but will it be the same for f_in_box__form then ?


f_in_box__form is a separate window, not a child window, so TAB and others keys should work properly with f_in_box__form.
_________________
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Softanics
Site Admin


Joined: 18 Sep 2004
Posts: 1386
Location: Russia, St. Petersburg

PostPosted: Sun Jan 07, 2007 12:21 pm    Post subject: Reply with quote

Small mistake: I meant arrow keys, not TAB, above.

I just have uploaded updated version, how to use new event you can see in the example Sample7_ExternalInterface.
_________________
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html
Back to top
View user's profile Send private message Send e-mail Visit poster's website
seesharp



Joined: 30 Oct 2006
Posts: 82

PostPosted: Sun Jan 07, 2007 1:07 pm    Post subject: Reply with quote

Hey,


It's sunday !!!
Thanks and although I am very impressed by your product and support, don't forget to enjoy your live, don't work too hard Wink

Alex
Back to top
View user's profile Send private message
Softanics
Site Admin


Joined: 18 Sep 2004
Posts: 1386
Location: Russia, St. Petersburg

PostPosted: Sun Jan 07, 2007 1:40 pm    Post subject: Reply with quote

Thank you, Alex Smile Smile
_________________
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html
Back to top
View user's profile Send private message Send e-mail Visit poster's website
seesharp



Joined: 30 Oct 2006
Posts: 82

PostPosted: Sun Jan 07, 2007 1:48 pm    Post subject: Reply with quote

BTW,

although its sunday, I've already tested and, as usual, it works.

Have a nice afternoon.
Kind regards form Switzerland


Alex
Back to top
View user's profile Send private message
tos



Joined: 07 Aug 2009
Posts: 3

PostPosted: Fri Aug 07, 2009 8:16 pm    Post subject: Important... Reply with quote

Please try to point out this method of trasfering keys to flash.
I've been seraching for a solution over 2 weeks. And OnIsInputKey is under my nose, even in manual.
I think that users are not well-familiar with this accidental feature.

I'm just trying to help.
_________________
Stand back....I am going to try SCIENCE!!! (xkcd)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.f-in-box.com Forum Index -> .NET Edition All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group