C# Display a tooltip on disabled textbox (Form)

前端 未结 3 1677
野性不改
野性不改 2020-12-19 11:38

I am trying to get a tooltip to display on a disabled textbox during a mouse over. I know because the control is disabled the following won\'t work:

private          


        
3条回答
  •  余生分开走
    2020-12-19 12:13

    Late to the party, but had the same problem and found a better solution: you can just wrap your TextBox in another Item and put a ToolTip on it like:

    
                
    
    

提交回复
热议问题