Results 1 to 2 of 2

Thread: Like the way Visual Basic Books Online does...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    154

    Question

    Hi all,

    Can someone show me how to show the complete text
    in a listbox when the text is wider than the width of the
    listbox?

    Like the way Visual Basic Books Online does with their
    treeview. When you mouse over the item, and if it is
    longer than the width of the treeview, it expands the
    text in a tool tip.

    I've seen some code on here, but I would like it to
    expand the text exactly on top of the original text, you
    know, complete it.....instead of having a tool tip pop-up
    a line or so down from the original text.

    Thanks,
    Ron

  2. #2
    New Member
    Join Date
    Apr 2001
    Posts
    2
    If you want the listbox width to expand, then, look at the code VBNet has for the combobox. This should work for a listbox with a few modifications.

    Otherwise try using a textbox that you position at the current selection.

    good luck.

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