I have been reading a lot on the mousetrap() and handle() functions, but these seem to be reserved for Graph Box objects. I was wondering If I could add a "On click" event to any graphical element in a window? For example, in the following code:
GuiWindow = New Window( "SMS1" );
theBox = Table Box(
String Col Box( "State", {"Florida", "Texas", "Main", "California"} ),
Number Col Box( "Width", {45, 66, 88, 13} ),
Number Col Box( "Length", {67, 34, 1, 78} ),
Number Col Box( "Depth", {13, 65, 32, 56} )
);
GuiWindow << Append( theBox );
Can I add a mouse trap or similar 'on click' behavior to a table box? So if the user where to click on anywhere inthe table, can it do something like Write("Hello World"); ?