Listbox Item "top" position
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Thread: Listbox Item "top" position

Threaded View

  1. #1
    Join Date
    Jul 2010
    Posts
    2

    Arrow Listbox Item "top" position

    How would i get it?
    I am trying to to make it easier for my program users to edit the list items. I want it to work like this:

    Code:
    Private sub list1_dblclick()
    text1.visible = true
    text1.text = list1.list(list1.listindex)
    'here is where i cannot figure out what to do(i know the below code wont work. i've tested it.)
    text1.top = list1.listindex.top
    end sub
    how could i get it that every time the user double clicks on a list item, that a textbox apears there all they have to do is edit the text and press enter.
    i mostly just need to get the "top" position of a selected list item.
    Last edited by HanneSThEGreaT; July 7th, 2010 at 08:45 AM.
    Share on Google+

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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center