Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Moore <david_moore1@sil.org>2015-02-28 19:00:05 +0300
committerDavid Moore <david_moore1@sil.org>2015-02-28 19:00:05 +0300
commitf3ff59749f062c609552af071798bc4220dd4633 (patch)
tree0b054336bd39c9dfc1b6e1fe0ce3ce5bf57ad003 /mcs/class/Managed.Windows.Forms
parent3ceb869495df9e6648d606c64620441d3180cfdb (diff)
Bug 27529 Tool Tip appears behind menu
In certain cases, hovering over a ToolStripMenuItem that has a tool tip defined will result in the tool tip appearing behind, and hidden by, the context menu containing the item. The change is to cause the tool tip to be pushed to the front when it is displayed.
Diffstat (limited to 'mcs/class/Managed.Windows.Forms')
-rw-r--r--mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs
index e057b32fed8..f8c38ba7ac7 100644
--- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs
+++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs
@@ -256,6 +256,7 @@ namespace System.Windows.Forms {
Location = loc;
Visible = true;
+ BringToFront ();
}