Results 1 to 5 of 5

Thread: ToolStripItem.ToolTipText property not working in Windows 8

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2008
    Posts
    248

    ToolStripItem.ToolTipText property not working in Windows 8

    Hi,

    We have a application developed using .NET. We use some ToolStripMenuItem in project and used ToolStripItem.ToolTipText property to display description of items.It is working fine in Windows XP. But now we are using some Windows 7 and Windows 8 PCs and ToolStripItem.ToolTipText property was not working.
    After sometime find out that tooltip property is working if we use .net framework 2.0 and not working if we use .net framework 4.0 in Windows 8.
    This was the initial config file lines
    Code:
    <startup>
    	<supportedRuntime version="v4.0"/>
        <supportedRuntime version="v2.0.50727"/>
      </startup>
    tooltip working if we interchange supportedRuntime lines. Why this is happening?windows 8 doesn't support .net framework 4.0? Or ToolStripItem.ToolTipText doesnot work on .net framework 4.0?
    Thank you

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: ToolStripItem.ToolTipText property not working in Windows 8

    Is the ShowItemsToolTips property of the MenuStrip set to True?

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2008
    Posts
    248

    Re: ToolStripItem.ToolTipText property not working in Windows 8

    Quote Originally Posted by Joacim Andersson View Post
    Is the ShowItemsToolTips property of the MenuStrip set to True?
    Actually no.We will do that. But what i didn't understand is why its not working in Windows 8 only? Windows XP doesn't need ShowItemsToolTips set to be true?

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: ToolStripItem.ToolTipText property not working in Windows 8

    I don't know why exactly you're having this experience but yes, WinXP also needs this property to be set to True. I'm unsure but maybe (I actually doubt that this is true) the property was set to true by default on .Net 2.0 while (for MenuStrips but not for ToolStrips) it's set to false by default in later versions. In either case this property has to be set to True for tooltips to be shown regardless of what Windows version you're using.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Oct 2008
    Posts
    248

    Re: ToolStripItem.ToolTipText property not working in Windows 8

    I have set ShowItemsToolTips property to true and now its working in windows 8.Thank you

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width