Why are tooltips appearing on my custom controls?Why is Dictionary preferred over Hashtable in C#?Displaying tooltip over a disabled controlTooltip on custom controlHow to add a tooltip to a divGetting a tooltip in a user control to show databound text and stay openHow to test Tooltip text using MouseOver using Selenium webdriverWhy not inherit from List<T>?Tooltip missing some controls?Showing dynamic tooltips on multiple-choice Select controlHow to destroy previous tooltip when hovering over a new item in extjs toolbar text

Why in most German places is the church the tallest building?

Why would an IIS hosted site prompt for AD account credential if accessed through a hostname or IP, but not through servername?

How to find out the average duration of the peer-review process for a given journal?

Who was president of the USA?

What to say to a student who has failed?

How to make Ubuntu support single display 5120x1440 resolution?

How much authority do teachers get from *In Loco Parentis*?

Why did MS-DOS applications built using Turbo Pascal fail to start with a division by zero error on faster systems?

How many US airports have 4 or more parallel runways?

Is it possible to perform a regression where you have an unknown / unknowable feature variable?

Antonym of "billable"

Why are non-collision-resistant hash functions considered insecure for signing self-generated information

Does norwegian.no airline overbook flights?

Nothing like a good ol' game of ModTen

Almost uniform convergence implies convergence in measure

Algorithms vs LP or MIP

Justifying the use of directed energy weapons

Why does The Ancient One think differently about Doctor Strange in Endgame than the film Doctor Strange?

Why doesn't 'd /= d' throw a division by zero exception?

How would you identify when an object in a Lissajous orbit needs station keeping?

Compelling story with the world as a villain

Did anyone try to find the little box that held Professor Moriarty and his wife after the Enterprise D crashed?

Was there ever a treaty between 2 entities with significantly different translations to the detriment of one party?

Is there any way to keep a player from killing an NPC?



Why are tooltips appearing on my custom controls?


Why is Dictionary preferred over Hashtable in C#?Displaying tooltip over a disabled controlTooltip on custom controlHow to add a tooltip to a divGetting a tooltip in a user control to show databound text and stay openHow to test Tooltip text using MouseOver using Selenium webdriverWhy not inherit from List<T>?Tooltip missing some controls?Showing dynamic tooltips on multiple-choice Select controlHow to destroy previous tooltip when hovering over a new item in extjs toolbar text






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have a form with some user-defined controls which inherit from Button. When I populate the form and put text on the controls, some (but not all) of them show a tooltip when I hover the mouse over them. The tooltip text is the same as the control's text.



The selection of controls which have this tooltip is the same each time for the same data input. I have not yet managed to check if it is the same selection for different data.



There is a tooltip associated with the form, but its Active property is set to False and the text for the tooltips is always "" at this point of the program. I've tested this.



The form and the program are generated using VS Community 15.9.7.



There is a toolbar with icons which display tooltips, but removing this has no effect, so that's not implicated.



I can't see any .NET documentation which implies that buttons get automatic tooltips.



Code will be difficult - it's a big program and a lot of the form code is auto-generated by VS. I'll try to generate some pseudo-code if it would help.










share|improve this question






























    0















    I have a form with some user-defined controls which inherit from Button. When I populate the form and put text on the controls, some (but not all) of them show a tooltip when I hover the mouse over them. The tooltip text is the same as the control's text.



    The selection of controls which have this tooltip is the same each time for the same data input. I have not yet managed to check if it is the same selection for different data.



    There is a tooltip associated with the form, but its Active property is set to False and the text for the tooltips is always "" at this point of the program. I've tested this.



    The form and the program are generated using VS Community 15.9.7.



    There is a toolbar with icons which display tooltips, but removing this has no effect, so that's not implicated.



    I can't see any .NET documentation which implies that buttons get automatic tooltips.



    Code will be difficult - it's a big program and a lot of the form code is auto-generated by VS. I'll try to generate some pseudo-code if it would help.










    share|improve this question


























      0












      0








      0








      I have a form with some user-defined controls which inherit from Button. When I populate the form and put text on the controls, some (but not all) of them show a tooltip when I hover the mouse over them. The tooltip text is the same as the control's text.



      The selection of controls which have this tooltip is the same each time for the same data input. I have not yet managed to check if it is the same selection for different data.



      There is a tooltip associated with the form, but its Active property is set to False and the text for the tooltips is always "" at this point of the program. I've tested this.



      The form and the program are generated using VS Community 15.9.7.



      There is a toolbar with icons which display tooltips, but removing this has no effect, so that's not implicated.



      I can't see any .NET documentation which implies that buttons get automatic tooltips.



      Code will be difficult - it's a big program and a lot of the form code is auto-generated by VS. I'll try to generate some pseudo-code if it would help.










      share|improve this question














      I have a form with some user-defined controls which inherit from Button. When I populate the form and put text on the controls, some (but not all) of them show a tooltip when I hover the mouse over them. The tooltip text is the same as the control's text.



      The selection of controls which have this tooltip is the same each time for the same data input. I have not yet managed to check if it is the same selection for different data.



      There is a tooltip associated with the form, but its Active property is set to False and the text for the tooltips is always "" at this point of the program. I've tested this.



      The form and the program are generated using VS Community 15.9.7.



      There is a toolbar with icons which display tooltips, but removing this has no effect, so that's not implicated.



      I can't see any .NET documentation which implies that buttons get automatic tooltips.



      Code will be difficult - it's a big program and a lot of the form code is auto-generated by VS. I'll try to generate some pseudo-code if it would help.







      .net vb.net controls tooltip






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 27 at 17:35









      PeterPeter

      1106 bronze badges




      1106 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0















          I've found out what's happening. There seems to be an undocumented feature of Button class. When AutoEllipsis is set to True and .NET thinks that some text is missing because the button's too small, it very helpfully gives you an automatic tooltip. This would be fine except for two things:



          1. The Tooltip appears even if there's room on the button for the text. This is annoying but sort of OK.
            Here's an example
            and another


          2. The tooltip appears on top of the tooltip that the programmer assigned to the button. This is a real pain, as in my program this changes depending on the state of the program and has a real meaning.






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55383373%2fwhy-are-tooltips-appearing-on-my-custom-controls%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0















            I've found out what's happening. There seems to be an undocumented feature of Button class. When AutoEllipsis is set to True and .NET thinks that some text is missing because the button's too small, it very helpfully gives you an automatic tooltip. This would be fine except for two things:



            1. The Tooltip appears even if there's room on the button for the text. This is annoying but sort of OK.
              Here's an example
              and another


            2. The tooltip appears on top of the tooltip that the programmer assigned to the button. This is a real pain, as in my program this changes depending on the state of the program and has a real meaning.






            share|improve this answer





























              0















              I've found out what's happening. There seems to be an undocumented feature of Button class. When AutoEllipsis is set to True and .NET thinks that some text is missing because the button's too small, it very helpfully gives you an automatic tooltip. This would be fine except for two things:



              1. The Tooltip appears even if there's room on the button for the text. This is annoying but sort of OK.
                Here's an example
                and another


              2. The tooltip appears on top of the tooltip that the programmer assigned to the button. This is a real pain, as in my program this changes depending on the state of the program and has a real meaning.






              share|improve this answer



























                0














                0










                0









                I've found out what's happening. There seems to be an undocumented feature of Button class. When AutoEllipsis is set to True and .NET thinks that some text is missing because the button's too small, it very helpfully gives you an automatic tooltip. This would be fine except for two things:



                1. The Tooltip appears even if there's room on the button for the text. This is annoying but sort of OK.
                  Here's an example
                  and another


                2. The tooltip appears on top of the tooltip that the programmer assigned to the button. This is a real pain, as in my program this changes depending on the state of the program and has a real meaning.






                share|improve this answer













                I've found out what's happening. There seems to be an undocumented feature of Button class. When AutoEllipsis is set to True and .NET thinks that some text is missing because the button's too small, it very helpfully gives you an automatic tooltip. This would be fine except for two things:



                1. The Tooltip appears even if there's room on the button for the text. This is annoying but sort of OK.
                  Here's an example
                  and another


                2. The tooltip appears on top of the tooltip that the programmer assigned to the button. This is a real pain, as in my program this changes depending on the state of the program and has a real meaning.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 28 at 17:53









                PeterPeter

                1106 bronze badges




                1106 bronze badges



















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55383373%2fwhy-are-tooltips-appearing-on-my-custom-controls%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript