Blitz ui

Community Forums/Developer Stations/Blitz ui

Agamer(Posted 2003) [#1]
can someone telll em what the returned value for a button down is in blitzUI


Agamer(Posted 2003) [#2]
esc= SendMessage ( btn001, "BT_GETVALUE" )



If Swim=1
Exit
endif


would that work?


TeraBit(Posted 2003) [#3]
Not really..
Select app\event
    Case EVENT_GADGET
	Select app\GadgetEvent
	Case btn001
        ESC = 1
   End Select
End Select


You need to test the event objects.

App\Event

And in the case of a Gadget, App\GadgetEvent, if the handle is recorded, then the gadget had an event. In the case of a button, a click.