Jump to content

CheckListBox commands


Recommended Posts

Yesterday JdeB supplied me with the helpful command - ControlSend("Setup - WinMerge", '', 'TNewCheckListBox1', "L{SPACE}"), which allowed me to uncheck a

CheckListBox. The 'L{SPACE}' moves to the last check box in the list and and toggles it.

I searched the Send Key List and found {SPACE} but nowhere have a found a list of control letters such as 'L'. Is there a list somewhere? Also looked in Send and ControlSend.

Also do you know of any documentation for CheckListBox?

Thanks,

jh

Link to comment
Share on other sites

Yesterday JdeB supplied me with the helpful command - ControlSend("Setup - WinMerge", '', 'TNewCheckListBox1', "L{SPACE}"), which allowed me to uncheck a

CheckListBox. The 'L{SPACE}' moves to the last check box in the list and and toggles it.

I searched the Send Key List and found {SPACE} but nowhere have a found a list of control letters such as 'L'. Is there a list somewhere? Also looked in Send and ControlSend.

Also do you know of any documentation for CheckListBox?

Thanks,

jh

L is just the L key.. :shocked::(
Link to comment
Share on other sites

  • Developers

Yesterday JdeB supplied me with the helpful command - ControlSend("Setup - WinMerge", '', 'TNewCheckListBox1', "L{SPACE}"), which allowed me to uncheck a

CheckListBox. The 'L{SPACE}' moves to the last check box in the list and and toggles it.

I searched the Send Key List and found {SPACE} but nowhere have a found a list of control letters such as 'L'. Is there a list somewhere? Also looked in Send and ControlSend.

Also do you know of any documentation for CheckListBox?

Thanks,

jh

"L" is just the first letter of the Text behind the CheckListBox and is not a specific Action. The Space works on all selected CheckBoxes and acts as a Toggle.

Sometimes the NumPadMinus works as Deselect and NumPadPlus works as Select, but believe that didn't work on this particular Control.

:shocked:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

"L" is just the first letter of the Text behind the CheckListBox and is not a specific Action. The Space works on all selected CheckBoxes and acts as a Toggle.

Sometimes the NumPadMinus works as Deselect and NumPadPlus works as Select, but believe that didn't work on this particular Control.

:shocked: I still have to learn to explain things properly. Kudos for you JdeB.
Link to comment
Share on other sites

"L" is just the first letter of the Text behind the CheckListBox and is not a specific Action. The Space works on all selected CheckBoxes and acts as a Toggle.

Sometimes the NumPadMinus works as Deselect and NumPadPlus works as Select, but believe that didn't work on this particular Control.

:shocked:

Thanks.

Duh me, I inferred from your statement "Typing L makes it jump to the bottom checkbox" that 'L' meant last or some such. I seem to have a propensity for interpreting generals for specifics, or is it visa versa or versa visa. (A digital head slap is due about now.... Ow, thank you, I think. ( Hey, I heard that thought!))

Proper coding on my part would be to check state of box b4 toggling.

Still looking for CheckListBox info or is that another duh on my part?

jh

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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