Code: Select all
ID = MakeButton(Nil, #SIMPLEBUTTON, 10, 10, 100, 100, {OnMouseOver=DebugPrint})
DebugPrint(id)
Is this a bug or supposed to be this way? For what I had done was to store several simplebutton IDs to a table, and then i meant to DeleteButton with all those IDs, but now i cant do that since Deletebutton doesnt accept UserData: 000... as argument.