Hi to all!
I need to trigger an action with the mouse left Button down (and not at the release) in a BTNBMP. Any help would be appreciated.
TIA
Euclides
Hi to all!
I need to trigger an action with the mouse left Button down (and not at the release) in a BTNBMP. Any help would be appreciated.
TIA
Euclides
Euclides
Try...
oBtn:bLClicked = {|| MyAction() }
and not define "ACTION" in button
Danie, thanks for the answer, but...
...
REDEFINE BTNBMP oBtn RESOURCE "RESOURCE" ID 100 OF oDlg
oBtn:bLClicked = {|| MsgInfo(oBtn:lPressed) }
...
does not execute (maybe is trapped somewhere before)
Regards
Euclides
if ::lDrag .or. ! Empty( ::oDragCursor ) .or. ! Empty( ::bLClicked )OK, working as expected.
Thanks Daniel!
Regards
Euclides