11-07-2008, 01:07 AM
Hi,
I can get the accessible object of a button and use it's being pressed as a trigger throug the Properties-->Trigger-->
But the problem is that I want to test a certain condition when the user hovers over the button (Show Window, "tooltips_class32") and depending on that condition, either OK or block the actual button being pressed. When I am running a script that co-triggers with the button being pressed, this method works but not when I want to block the button being pressed.
I tried putting BlockInput2 3 as the first statement but it's too late at that point.
Any way to do this?
Stuart
I can get the accessible object of a button and use it's being pressed as a trigger throug the Properties-->Trigger-->
But the problem is that I want to test a certain condition when the user hovers over the button (Show Window, "tooltips_class32") and depending on that condition, either OK or block the actual button being pressed. When I am running a script that co-triggers with the button being pressed, this method works but not when I want to block the button being pressed.
I tried putting BlockInput2 3 as the first statement but it's too late at that point.
Any way to do this?
Stuart