工具提示是否有可能位于 textindex 而不是鼠标光标中?
请注意我在 Windows 窗体中以文本形式工作的工具提示。
这是我的示例工具提示:
 toolTip1.AutoPopDelay = 5000;
        toolTip1.InitialDelay = 1000;
        toolTip1.ReshowDelay = 500;
        //toolTip1.ShowAlways = true;
        toolTip1.ToolTipTitle = "<)( Text ToolTip )(>";
        toolTip1.UseFading = true;
        toolTip1.UseAnimation = true;
范围:
 for (int i = 0; i < keywords.Length; i++)
            {
                if (keywords[i] == token)
                {
                    // Apply alternative color and font to highlight keyword.        
                    HighlighType.keywordsType(rtb);
                        toolTip1.Show("this is a keyword", rtb); //&
                        break;
                }
            }
当在richtextbox中输入关键字时,例如“as”之类的东西会出现工具提示,但仅在鼠标光标中,我希望它靠近textindex。
那可能吗?多谢!