Asger Blond
ab-mi at post3.tele.dk
Wed Feb 13 04:19:51 CST 2008
To temporarily disable the Click-procedure use: MyPictureButton.OnClick = "" To reenable the Click-procedure use: MyPictureButton.OnClick = "[Event Procedure]" HTH Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] På vegne af Kath Pelletti Sendt: 13. februar 2008 05:09 Til: Access D Normal List Emne: [AccessD] Locking form control - Image control Different problem..... One of the controls on my form is the 'Add' button which the user clicks to add a new record (Image control because I have an icon image for add buttons). The control type is acimage which does not have an enabled or locked property. Is there a way I can temporarily remove it's 'On Click' property so the user cannot click and add a new record? tia Kath ______________________________________ Kath Pelletti Software Design and Solutions Pty Ltd Ph: 9505-6714 Fax: 9505-6430 kp at sdsonline.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com