[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview component
[Thread Prev] | [Thread Next]
- Subject: Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview component
- From: BB <adamnt42@xxxxxxxxx>
- Date: Mon, 7 Apr 2025 01:11:00 +0930
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Would be nice if someone with their experiences so far would minding posting a clear story about "How to do it these days"
Unfortunately, I have yet to embark on using the new thing "😕" yet. On 7/4/25 12:19 am, Claus Dietrich wrote:
So I changed to gb.qt5 and gb.qt5.webview and everything seems to work fine.I have to withdraw the above statement and to apologize. What I didn't test and notice (but Hans):Other than the deprecated WebKit-component the new WebView-control doesn't support the method FindText. As search functions are indispensable for HTML-Browsers, we will be forced to switch back to the Webkit unless someone has an idea how we can emulate the following search function with the new WebView component.Private Sub DoFind(Optional argBackward As Boolean) Dim sFindText As String If Not Trim(TextBoxFindKeyword.Text) Then Return sFindText = TextBoxFindKeyword.TextIf WebViewPreview.FindText(sFindText, argBackward, CheckBoxCaseSensitive.Value, True) = True Then '-- TRUE = Search *without* success!HBoxHTMLFind.Background = &HFFDFDF Else HBoxHTMLFind.Background = Color.Default Endif End With best regards Claus