Hi,
You are probably using the event structure. An event "mouse down" is
genetared when a button is pressed, even if the button is disabled (and it
should, because the mouse *is* down on it).
You should use the "value change" event. This is only generated when the
value is changed, and this doesn't happen is the button is disabled.
Regards,
Wiebe.
"lihui" wrote in message
news:50650000000800000047C70000-1079395200000@exchange.ni.com...
> Hi all, i found out that user could still press disabled and greyed
> out buttons in front panel. Is this suppose to be the case? It
> actually pose some minor risks to my program though. Is there anyway
> to disallow them to press it as well. Thanks.