Results 1 to 3 of 3

Thread: Textbox Question!

  1. #1

    Thread Starter
    Addicted Member Stephen Bazemore's Avatar
    Join Date
    Aug 2000
    Location
    North Carolina
    Posts
    158

    Question

    I am trying to have a certain character or text inserted automatically inside a text box when i push a cmd button. I would really like to be able to insert the character exactly where the cursor is. I cannot figure out how to do it. please help. it will be greatly appreciated.

    thanks stephen.

  2. #2
    Guest
    Use the SelText Property.

    Code:
    Private Sub Command1_Click()
    Text1.SelText = "This is entered where ever the | is."
    End Sub
    [Edited by Matthew Gates on 08-12-2000 at 02:54 PM]

  3. #3

    Thread Starter
    Addicted Member Stephen Bazemore's Avatar
    Join Date
    Aug 2000
    Location
    North Carolina
    Posts
    158
    thanks, I tried something similar but didn't think about using seltext..

    thanks again, stephen

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