Unknown Cefsharp error

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Unknown Cefsharp error

Postby Yenthex007 » Wed May 02, 2018 10:56 am

Image While there isn't any error, the code doesn't want to work. If i use a button for navigating it does work but i really want to do it with a enter press
code that does work:
Code: Select all
private void btnGo_Click(object sender, EventArgs e)
        {
            ChromiumWebBrowser chrome = tabControl.SelectedTab.Controls[0] as ChromiumWebBrowser;
            if (chrome != null)
            {
                chrome.Load(txtUrl.Text);
            }
        }
Yenthex007
Newbie
 
Posts: 2
Joined: Tue May 01, 2018 4:58 pm

Re: Unknown Cefsharp error

Postby ndesktop » Wed May 02, 2018 11:06 am

You'll probably have a better chance on CefSharp forum, since this looks like a C# GUI question, not a CEF one.
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: Unknown Cefsharp error

Postby amaitland » Wed May 02, 2018 2:31 pm

To handle key press events implement http://cefsharp.github.io/api/63.0.0/ht ... andler.htm
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 22 guests