Results 1 to 3 of 3

Thread: lists -> text boxes

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    2

    Question

    Hi,

    I'm relatively new here, and just wondering how I could go about pasting an item from a list into a text box. I'm working on a specialized text editor, and it's fully functional as-is, but I'd like to add this, because this project's designated audience ( IRC scriptors, if you must know <g> ) uses a lot of the same words/phrases, and I'd like to make it a matter of double-clicking the item you want to paste it into the text editor; also handy when you don't know exactly what you want.

    InnerChylde

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Code:
    Private Sub List1_DblClick()
        Text1.SelText = List1.Text
    End Sub
    Good luck!

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    2

    Thumbs up

    Ah, thank you VERY much... i was afraid i'd have to use a lengthy if..then...else with llist1.selected(0), etc...

    And such a fast reply, too! I'm extremely impressed. <g>

    iC

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