Max Wanadoo
max.wanadoo at gmail.com
Wed Feb 13 03:25:26 CST 2008
Hi Kath, I would just use the MyButton.enabled = True/False but if you wanted to hide it you could use MyButton.Visible = True/False Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, February 13, 2008 4:09 AM To: Access D Normal List Subject: [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