Welcome Guest Search | Active Topics | Sign In | Register

Escape no longer works properly with the latest build Options
PS
Posted: Thursday, June 20, 2019 10:21:17 AM
Rank: Advanced Member
Groups: Member

Joined: 10/24/2018
Posts: 97
Since we updated to the latest version we are having various issues with the Escape key, this problem becomes most clear with the following example code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

using EO.WebBrowser;
using EO.WinForm;

namespace EOTestEscape
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(CreateForm());
}

private static Form CreateForm()
{
var form = new Form()
{
Size = new System.Drawing.Size(1280, 1024)
};

var textBox = new TextBox
{
Dock = DockStyle.Top
};

var webControl = new WebControl
{
Dock = DockStyle.Fill
};

var webView = new WebView
{
Url = "https://www.google.com"
};

webControl.WebView = webView;

var button = new Button
{
Dock = DockStyle.Bottom,
Text = "Exit"
};
button.Click += (sender, e) => form.Close();

form.Controls.Add(textBox);
form.Controls.Add(webControl);
form.Controls.Add(button);

form.CancelButton = button;

return form;
}
}
}

When we either have the focus in the webview/webcontrol or in the textbox and then press Escape, nothing happens. We expect in this example that the form will close.

This looks to be a major issue, we hope that this issue gets priority and that a hotfix will be available soon.
eo_support
Posted: Thursday, June 20, 2019 1:42:15 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,066
Sorry about the problem. Please download build 19.1.81 from our download page. This build fixed this issue.
PS
Posted: Friday, June 21, 2019 5:05:27 AM
Rank: Advanced Member
Groups: Member

Joined: 10/24/2018
Posts: 97
Thank you for the quick fix, this indeed fixes the issue!
eo_support
Posted: Friday, June 21, 2019 9:38:39 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,066
Great. Thanks for confirming!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.