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

Threaded View

  1. #1
    Join Date
    Jul 2010

    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:

    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.

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.