Results 1 to 3 of 3
  1. #1
    Forbes's Avatar
    Forbes is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2017
    Posts
    133

    Text Box Cursor Property

    I am working on a table that acts as a command input for fun (for now) two things I'm currently struggling with seem simple yet I cannot figure it out.

    On the txtbox I want the cursor to have text preceding it such as "#>" any Ideas?



    This being said I already have the text box set to on enter move to new line, on a new line does the text box disregard anything prior or see all text in previous lines?

    Also the preceding text "#>" will this text be included in the call because I need it not to more like an object I guess.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    What do you mean by 'table that acts as a command input'? What exactly are you trying to accomplish?

    You want literal string "#>" to automatically populate a textbox? Maybe set DefaultValue property?

    Code that moves cursor to the end of text, like: If Not IsNull(Me.tbxNew) Then Me.tbxNew.SelStart = Len(Me.tbxNew)

    Your last sentence makes no sense.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Forbes's Avatar
    Forbes is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2017
    Posts
    133
    Okay so lets say if you open windows Shell the input line would display something like "C:\Users\name>" just to display your current directory... I want the text box to essentially have the ">" before any text that is typed in... basically like a bullet list if that helps...

    Code:
    >ipconfig
    127.0.0.1 - WLAN
    >_

Please reply to this thread with any new information or opinions.

Similar Threads

  1. The Locked Property isn't Locking my text boxes...
    By HillChris7714 in forum Forms
    Replies: 3
    Last Post: 10-12-2016, 09:48 AM
  2. Replies: 2
    Last Post: 01-04-2016, 04:44 AM
  3. Dirty property for Text Box
    By tylerg11 in forum Forms
    Replies: 6
    Last Post: 04-07-2015, 11:02 AM
  4. Replies: 4
    Last Post: 10-03-2014, 07:31 AM
  5. Replies: 9
    Last Post: 09-02-2014, 10:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums