User Tag List

Results 1 to 3 of 3

Thread: Editbox Cursor Position

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Editbox Cursor Position

    Is there any way to set the text cursor's position in the editbox? What I'm doing is having people enter their game-name in an edit box that is off the screen, but what they are seeing is a string object that displays what the edit box is displaying.

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Location
    Sweden, Lund
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Editbox Cursor Position

    I don't think so... I'd use an RTF for that. There you have "Set caret position".

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Editbox Cursor Position

    I figured it out! If you want to move the cursor to the end of the edit box, what you do is you set the alterable string of a string object (just to hold the string) and (on the edit box) you do set text to "" then you set the text to the alterable string of the string object. But then, the cursor is at the front, well that's what string parser is for, what you do is you keep the edit box off the screen, then you display it with another string object BUT when you set the string to the text of the edit box, you reverse the string with the string parser.

    All that just to move the cursor to the end...

Similar Threads

  1. Event for moving the mouse cursor to a position?
    By Soilydude in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 2nd August 2013, 04:27 PM
  2. Position relative et position absolue
    By volgot in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th March 2011, 05:08 AM
  3. Screen position relative to taskbar position?
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd April 2009, 09:55 PM
  4. Set cursor position
    By RobertRule in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th November 2008, 02:08 PM
  5. cursor object? or own cursor?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 31st December 2007, 08:52 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
  •