Results 1 to 7 of 7

Thread: [RESOLVED] tool tip

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2005
    Posts
    34

    Resolved [RESOLVED] tool tip

    hi
    I'm very new to VB.NET 2003. I am trying to view items in a list box which are to long for the list box. so have found out that i have to use tool tip to pop up the item.
    I do not have a clue how to do it.
    Please could anybody help.

  2. #2
    Fanatic Member
    Join Date
    May 2005
    Posts
    898

    Re: tool tip

    This is possible, but have you considered using a listview instead of a listbox? You can set it to detail view, add a collumn, and add some items. The user can then just resize the collumn if needed.
    "so just keep in mind that fantasy is not the same as realtiy and make sure u remember that wii sports may be fun but u cant count on it as exercise ok cool bye" - HungarianHuman

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2005
    Posts
    34

    Re: tool tip

    ok but that seems like the easy way out. is there not an example of cade that anyone could give me that shows how tool tip is coded. like i said before i am very new to VB.Net.

  4. #4
    Fanatic Member
    Join Date
    May 2005
    Posts
    898

    Re: tool tip

    In this thread Kleinma is using tooltips with a listview, should be similar.
    http://www.vbforums.com/showthread.php?p=2134371
    "so just keep in mind that fantasy is not the same as realtiy and make sure u remember that wii sports may be fun but u cant count on it as exercise ok cool bye" - HungarianHuman

  5. #5
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: tool tip

    Hi,

    Just add the Tooltip object to your form. It's in the toolbox! That adds all the tooltip properties for you to play with.

    HTH

    zaza

  6. #6
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: tool tip

    Hi adamlee24,
    I found some code in a forum about 'BallonToolTip', hope it works!
    Sorry about the amount of code!
    See attachment

    sparrow1
    Last edited by sparrow1; Apr 8th, 2007 at 11:40 AM.

  7. #7

    Thread Starter
    Member
    Join Date
    Sep 2005
    Posts
    34

    Re: tool tip

    you have got to be kidding. All that code just to get a tool tip to show up.
    I will look through it anyway.
    Thanks everyone for all your help.

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