Setting Input Focus for a Field

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default Setting Input Focus for a Field

    Hello,

    I've been programming in Lingo for over 5 years and have noticed over the years that people often want to know how to programmatically control which field in a screen the users typed input will go into. I have never heard a good answer, but never really needed that control until now. Most other GUI languages have functions that allow the program to control which field, in a multi-field screen, has the "input focus". I recently upgraded to Director 8.5, and am wondering if Macromedia has resolved this deficiency, and provided a means to control the input focus?

    If there is still no way to control the input focus, could someone please tell just what rules Director uses to determine which field has the input focus when entering a frame. From what I have seen there doesn't seem to be any rhyme or reason for which field has the focus (like order in the score, or last field written to by Lingo)

    Thanks in advance!
    Greg Tobin




    HeathkitGreg webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. cfcalendar date input into an input field
      Like a JS datepicker, how do i use cfcalendar to input a date into an input field? Something like this:...
    2. Setting focus on a form field
      When a CFM page loads, how can you set focus on a textbox so the cursor is already in the field? Thanks Steve
    3. input text cursor focus
      hi friends i have taken input text field, i want this field cursor is on focus while enter the page. how do i do that. bye prasad
    4. Setting focus..?
      Hi all, I have a Webform with some textboxes on. How can I set the focus so that a user can start the input directly in the first textbox in...
    5. Setting Focus on field when RequiredFieldValidator fails - This Works!
      There seems to be way too much confusion over how to set focus on the a field using a field validator. I looked all over the web and found people...
  3. #2

    Default Re: Setting Input Focus for a Field

    Greg,

    Like you, I've never needed to have that ability for any of the things I've
    written, so I'm speaking out of ignorance here (not that uncommon for me),
    but I would guess that you could use keyboardFocusSprite.

    HTH,
    Matt

    HeathkitGreg <webforumsuser@macromedia.com> wrote in message
    news:br9uil$e7k$1@forums.macromedia.com...
    > Hello,
    >
    > I've been programming in Lingo for over 5 years and have noticed over the
    years that people often want to know how to programmatically control which
    field in a screen the users typed input will go into. I have never heard a
    good answer, but never really needed that control until now. Most other GUI
    languages have functions that allow the program to control which field, in a
    multi-field screen, has the "input focus". I recently upgraded to Director
    8.5, and am wondering if Macromedia has resolved this deficiency, and
    provided a means to control the input focus?
    >
    > If there is still no way to control the input focus, could someone please
    tell just what rules Director uses to determine which field has the input
    focus when entering a frame. From what I have seen there doesn't seem to be
    any rhyme or reason for which field has the focus (like order in the score,
    or last field written to by Lingo)
    >
    > Thanks in advance!
    > Greg Tobin
    >
    >
    >

    MGaston Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139