Community
    • Login

    Replace in Files / "Directory" field scrolls right when clicked

    Scheduled Pinned Locked Moved General Discussion
    23 Posts 6 Posters 10.6k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PeterJonesP Online
      PeterJones @fml2
      last edited by PeterJones

      @fml2 said in Replace in Files / "Directory" field scrolls right when clicked:

      I’m just expressing my not understanding the logics and the rationale in the standard behaviour of combo boxes in Windows.

      To put it simply, for a standard combobox:

      • When you move focus into a combobox, it selects all the active text, and scrolls all the way to the right, so that you can see the last character in the combobox
        • if you click again once it’s selected, it will clear the selection, and your typing caret will go to wherever you clicked in the visible section of text
      • When you move focus out of a combobox, it deselects all the active selection in that combobox, and scrolls all the way to the left, so you can see the first character.

      As to the rationale: I have no clue what the win32 API designers were thinking when they created their standard combobox more than 20 years ago; sorry.

      1 Reply Last reply Reply Quote 1
      • Alan KilbornA Offline
        Alan Kilborn
        last edited by

        Somewhat unfortunately, I can understand the complaint of @fml2 here. As I said earlier in the thread, it has bothered me in the past. Now that I’m fully aware of it (due to this discussion), it will probably bother me in a more significant way moving forward. Perhaps I’ll see what I can do, on a script basis, to change the behavior…

        fml2F 1 Reply Last reply Reply Quote 0
        • fml2F Offline
          fml2 @Alan Kilborn
          last edited by

          @Alan-Kilborn Hehe, “for in much wisdom is much grief”.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors