Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active-X friendly splitter - update
Message
From
10/05/2004 16:49:43
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00902333
Message ID:
00902604
Views:
48
Gerald,

I sent a response back to your email address. I'd included a modified version of your second splitter class that contains the ItemToHide method. What is this method supposed to do? Anyway, the issue still exists. It is related to the fact that the ActiveX control is within a VFP container object on the form.

Regards,

Mike

PS. I like the quick "tech support" :)

>Of course its quick :)
>
>Check your mail, I have sent a new class (only the left/right splitter is changed).
>
>You need to call the splitter.ItemToHide(oItem) in the init of the form to add your browser to the splitter show/hide pool.
>If it pass your test, I will update the other class and the doc in the download...
>
>HTH :)
>
>
>>I'll hold off sending you your modified sample then. It sounds like you know what the problem might be.
>>
>>Thanks for the quick attention to it.
>>
>>Mike
>>
>>>I can take a look at your code and I will come back later with a workaround.
>>>I already have an idea...
>>>
>>>
>>>
>>>>The sample works file. I should have taken a closer look and realized that you were indeed using the browser control there. Having dug a little further into my code I see that I put my browser control into a VFP container object and that's when the splitter starts acting up.
>>>>
>>>>I modified your sample to reproduce the error. If you wish I could send it to you.
>>>>
>>>>Mike
>>>>
>>>>>I always like to have feedback :)
>>>>>
>>>>>Did the sample form work as expected in your system?
>>>>>The sample form contain a browser and an a treeview control and it work well on my system (W2K Server).
>>>>>
>>>>>You can post some code or send me your form for testing.
>>>>>You dont give enough info to debug...
>>>>>
>>>>>
>>>>>
>>>>>>Hi Gerald,
>>>>>>
>>>>>>I tried your splitter class and ran into an issue as follows:
>>>>>>
>>>>>>I have a WebBrowser ActiveX control on a VFP8SP1 form running under Windows2000 Pro. In the browser control, I navigate to a HTML document. The splitter does not work when I drag it over the browser control. It disappears and does not respond to the mouseup event.
>>>>>>
>>>>>>Am I doing something wrong or was the splitter not designed to work with all ActiveX controls?
>>>>>>
>>>>>>TIA
>>>>>>
>>>>>>Mike
>>>>>>
>>>>>>
>>>>>>>If you already have downloaded this class, please re-download it.
>>>>>>>I have made some changes that improve the speed of the class.
>>>>>>>
>>>>>>>download#23455
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform