How to show tooltip for a disabled control in vb.net
-
Hi, dear all, I have a form with some controls, some of controls may by disabled based on some options, I wish to show tooltips for disabled controls, so user knows why this control is disabled, after enabled, the tooltip gone. How can I achieve this? I search a lot from online, but cannot get answer. Find on to handle this case with class, but when unzip the source code, get error. Thanks!
-
Hi, dear all, I have a form with some controls, some of controls may by disabled based on some options, I wish to show tooltips for disabled controls, so user knows why this control is disabled, after enabled, the tooltip gone. How can I achieve this? I search a lot from online, but cannot get answer. Find on to handle this case with class, but when unzip the source code, get error. Thanks!
I find a link to handle this issue: Displaying a ToolTip when the Mouse Hovers Over a Disabled Control[^] But I got error while unzip the source code. If any of you have these source code, can you share with me? Thanks!
-
I find a link to handle this issue: Displaying a ToolTip when the Mouse Hovers Over a Disabled Control[^] But I got error while unzip the source code. If any of you have these source code, can you share with me? Thanks!
I see no problem: 1. the source download unzips all right with the built-in ZIP handling of Windows 7 2. the individual files are browsable on the "Browse Code" tab of the CP article. 3. the article itself holds the essential code snippets. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
I see no problem: 1. the source download unzips all right with the built-in ZIP handling of Windows 7 2. the individual files are browsable on the "Browse Code" tab of the CP article. 3. the article itself holds the essential code snippets. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
I can unzip other files, but cannot for this one. also the source code online are not editable. I am using window XP, maybe I need to try other computer. Thanks!
-
I see no problem: 1. the source download unzips all right with the built-in ZIP handling of Windows 7 2. the individual files are browsable on the "Browse Code" tab of the CP article. 3. the article itself holds the essential code snippets. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
I ask my friend unzip the file, but when I open it using Visual Studio 2005 and get error message like "the file was created by newer version of this application and cannot be opened" In this case, what should I do?
-
I ask my friend unzip the file, but when I open it using Visual Studio 2005 and get error message like "the file was created by newer version of this application and cannot be opened" In this case, what should I do?
either download and install Visual Studio 2008 Express (or 2010 Express), it would accept VS2008 project files; or delete the project file, create a new project, and add all necessary source files and references yourself. In the latter case, there is a possibility the source code relies on features present in .NET 3.5 and not in .NET 2.0; if so VS2005 will not be able to handle them at all. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
either download and install Visual Studio 2008 Express (or 2010 Express), it would accept VS2008 project files; or delete the project file, create a new project, and add all necessary source files and references yourself. In the latter case, there is a possibility the source code relies on features present in .NET 3.5 and not in .NET 2.0; if so VS2005 will not be able to handle them at all. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
Thanks!
-
either download and install Visual Studio 2008 Express (or 2010 Express), it would accept VS2008 project files; or delete the project file, create a new project, and add all necessary source files and references yourself. In the latter case, there is a possibility the source code relies on features present in .NET 3.5 and not in .NET 2.0; if so VS2005 will not be able to handle them at all. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
Hi, I try to use something else to display message that looks like tooltip. I create a label with some message to indicate why its attached control (not real attach) is disabled, set visible = false, I capture the mouse move event, when mouse move to the attached control and also it's disabled, the label with message will be visible, when the mouse move out of the control, the message will be hidden. When I create the control (like textBox) directly in form, and capture Form_MouseMove() event, it works fine. But if I create a TabControl in the form and then a groupbox on the tabpage, then put the textBox control in the groupbox, now I cannot get the control when mouse move by : ctrl = Me.GetChildAtPoint(e.Location) Then ctrl is always Form, or tabControl. Why??