Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
working with buttons
#3
Thanks for your quick reply. The object property state says "focusable", see image below. In the code below, the PRESSED condition is never met:

int w=win("Measurements" "#32770")
Acc b=acc("Measurements" "" w "#32770" "" 0x1001)
b.Focus
if b.State&STATE_SYSTEM_PRESSED
b.Mouse(1)

I can't figure out how the program keeps track of the button being down.


Attached Files Image(s)
   


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)