Maybe you should use some sort of if method to check if the button is enabled or not If button = enabled then Eyecandy endif -- Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20050825/871d09e8/attachment.html>