Results 1 to 4 of 4

Thread: DataGridView tooltip

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2006
    Location
    MI
    Posts
    2,012

    DataGridView tooltip

    Is there any way to change the properties of the DataGridViews default tooltip?
    ie. change it's display duration or text font/size. Thanks...

  2. #2
    Fanatic Member Megalith's Avatar
    Join Date
    Oct 2006
    Location
    Secret location in the UK
    Posts
    879

    Re: DataGridView tooltip

    you can change the duration from within the tooltips properties, not sure about the font though.
    If debugging is the process of removing bugs, then programming must be the process of putting them in.

  3. #3
    Fanatic Member Megalith's Avatar
    Join Date
    Oct 2006
    Location
    Secret location in the UK
    Posts
    879

    Re: DataGridView tooltip

    just found it can be done by inheriting the tooltip and altering that way. heres the link

    http://social.msdn.microsoft.com/for...-5c60cb241134/
    If debugging is the process of removing bugs, then programming must be the process of putting them in.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2006
    Location
    MI
    Posts
    2,012

    Re: DataGridView tooltip

    I was refering to the DGV's builtin tooltip & not the ToolTip component that's in the Toolbar.
    If you have text in a cell thats longer than the column width then a tooltip displays to show the full cell content. That's the one I need to change the duration of, as it only displays for a few seconds.

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