Jump to content

Recommended Posts

Posted

Does anyone know why I can't select all text using Ctrl-A in an Edit Control? I can right-click and choose "Select All" from the menu, but Ctrl-A doesn't select any text.

The attached script will create a single Edit Control box so you can see the problem first-hand:

Thanks for any assistance on this.

SelectAllProblem.au3

Posted

Selecting all text with Ctrl-A is not an inherent behavior of Edit controls (usually it's just a menu shortcut for "Select All"), but you can easily program it with HotKeySet and the GUIEdit UDFs in the beta version. Type some text into the edit box in the attached script and try it out.

SelectAllSolution.au3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...