( x )

alphagetpressed$()


Returns the pressed gadget, the one the user is pressing with the mouse pointer, in a gui.
 

Syntax


gadget_id$ = alphagetpressed$( [guihandle] )
 

Parameters

 
Variable Description Default value
guihandle Handle to gui in which you wish to check for the pressed gadget; if omitted then the first loaded gui is checked. First gui

Returns

A gadget handle as a string, This string is what the gadget had set its id$ to in the AlphaGUI editor

Back