Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GoFish doesn't scroll to matching line
Message
From
31/01/2023 06:28:33
 
 
To
31/01/2023 04:10:23
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Miscellaneous
Thread ID:
01685788
Message ID:
01686034
Views:
28
>>>>>scrollIntoView can just top or bottom according to this page.
>>>>
>>>>Here's where I got the parameters and this parameter works perfectly for me when I view the modified HTML file:
>>>>
>>>>https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
>>>>
>>>>It occurs to me that we're using the WebBrowser control and it may not support this parameter, since it's old. The page I linked there links to this one:
>>>>
>>>>https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoViewIfNeeded
>>>>
>>>>I wonder if that would work in the WebBrowser control. The compatibility charts don't include IE and the notes say this one is non-standard, but if it works in the control, who cares?
>>>>
>>>>Tamar
>>>>
>>>>Tamar
>>>
>>>Have you tried in the browser or in the control of GF?
>>>
>>>I give the second one a try, but I fear it will fail as well.
>>>
>>>What we can do is to offer an alternative mode in the settings, so one can choose. On top is better to not visible at all.
>>
>>I haven't been able to get the modified js to work inside GoFish, so I could test only with a browser (and the code I gave you worked with more than one browser on my machine). I'm not sure why I can't get GoFish to use the modified js; that's why I kicked it back to you.
>>
>>Tamar
>
>Beg you pardon, my English fails on details. I haven't been able ... reads as "I could could not insert the snippet" or "It failed to run"?
>If the second, I guess it's mainly for the browser (engine) engaged in the oBrowser window. The JS version in this can not deal with the non bool parameter, for that it fails. Your stand-alone browsers are not that outdated, so it works there.
>

First, I simply replaced the js file in the folder, but GoFish continued to run the older version, so I guessed that it was built into the EXE. Then, I built a new EXE with the newer js file (and gave it a different name, I think) and tried running that, but it still used the older js file. That's when I gave up and figured there was something I was missing.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform