Jump to content
Sign in to follow this  
hmsSurprise

CheckListBox commands

Recommended Posts

hmsSurprise

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

Share this post


Link to post
Share on other sites
jvanegmond

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::(

Share this post


Link to post
Share on other sites
Jos

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 Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
jvanegmond

"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.

Share this post


Link to post
Share on other sites
hmsSurprise

"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

Share this post


Link to post
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
Sign in to follow this  

×