Macro and With on the same line
Posted: Thu Dec 04, 2025 12:37 pm
Original topic: viewtopic.php?t=88011
Code: Select all
Enumeration BUTTON
#_BUTTON_LEFT
#_BUTTON_MIDDLE
#_BUTTON_RIGHT
EndEnumeration
Macro TYPE_BUTTON : i : EndMacro
Structure _Mouse
button.i
EndStructure
Global mouse._Mouse
Procedure IsPushed(button.TYPE_BUTTON) : With mouse
EndWith : EndProcedure