Eventloop without gadgetid
Posted: Fri Mar 04, 2005 1:41 am
				
				I've create an dynamic gadget with #pb_any. Now i want to make an eventloop for this gadget. How to compare if this gadget was pressed or not?
'Cause i've no ID from this gadget.
Without ID..I can't make a eventloop.
Do anyone knows a way with API-Orders ?
Or is there a way to get the ID from this gadget?
Code:
			'Cause i've no ID from this gadget.
Without ID..I can't make a eventloop.
Do anyone knows a way with API-Orders ?
Or is there a way to get the ID from this gadget?
Code:
Code: Select all
hButton.l=ButtonGadget (#pb_any,120,50,60,20,"OK") 