f_in_box__control and the webbrowser 2.0 control

.NET Edition of the F-IN-BOX
martijnv
Posts: 4
Joined: Tue Nov 06, 2007 6:55 am

f_in_box__control and the webbrowser 2.0 control

Postby martijnv » Tue Nov 06, 2007 7:05 am

Hi,

When I add a f_in_box__control to the control collection of a .Net 2.0 webbrowser control, so it flows above the html in it, it looks like the webbrowser eats all the mouseclick events. For example. If the flash contains scrollbars or buttons, they don't work anymore.

Anyone any idea to get working again?
Thnx

martijnv
Posts: 4
Joined: Tue Nov 06, 2007 6:55 am

Postby martijnv » Tue Nov 06, 2007 8:20 am

Nevermind. Can't find why it won't work, but I will use a container where I send the webbrowser control to the back.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Nov 06, 2007 9:45 am

Thank you for your question.

Yes, that's strange. Could you please send me zipped project source to support (at) f-in-box.com ?
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Nov 06, 2007 1:48 pm

I've received your project, thank you.

As a solution I can suggest you the following. Set TransparentMode to True. Notice that changing this property causes all others properties will be set to default values, so you need additionally to write something like that:

Code: Select all

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim form2 As New Form2()
        form2.Show()

        Me.Interaction1.TransparentMode = True
        Me.Interaction1.FlashProperty_Movie = "http://PRIVATE_AREA/Movement-sliders.swf"
        ' Set background and others...
    End Sub
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

martijnv
Posts: 4
Joined: Tue Nov 06, 2007 6:55 am

Postby martijnv » Tue Nov 06, 2007 2:33 pm

Thank you for you're time. You're suggestion is acceptable. Don't understand why it didn't worked with TransparentMode set to false, but my propblem seems to be solved. So I probably need a license soon ;-)

martijnv
Posts: 4
Joined: Tue Nov 06, 2007 6:55 am

Postby martijnv » Thu Dec 06, 2007 2:30 pm

Hmm should have test this earlier, but with TransparentMode on the mouse works fine but then the keyboard hits don't reach my flash object anymore. I recently tried one with a textbox in it.

With TransparentMode off my keyboard works just fine...

Hope you can help me again ;-)

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Thu Dec 06, 2007 8:11 pm

martijnv wrote:Hmm should have test this earlier, but with TransparentMode on the mouse works fine but then the keyboard hits don't reach my flash object anymore. I recently tried one with a textbox in it.

With TransparentMode off my keyboard works just fine...

Hope you can help me again ;-)


:)

OK, just send me again the project with the problem (and the movie too) to support (at) f-in-box.com
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 12 guests

cron