Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Buttons as images
#5
Sorry for doublepost.
Your Code works very well, but now i tried to add the ifk to it, and it errors
"unexpected identifier."
Code:
Copy      Help
;test
int Action
if PtInRect(&ra p.x p.y) and ifk((1))
,Action=1
,else
,,Action=0
else if PtInRect(&rb p.x p.y) and ifk((1))
,Action=2
,else
,,Action=0
,
But in the QM Help it says that ifk((1)) stands for Mouse left button?
Did i misunderstood something or has the code changed?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)