Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GoFish doesn't scroll to matching line
Message
From
31/01/2023 04:10:23
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
30/01/2023 13:24:50
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Miscellaneous
Thread ID:
01685788
Message ID:
01686032
Views:
25
>>>>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.

Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform