Switchboard buttons

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Hi,
I have a switchboard (Access 97) on which I've deleted the
standard access buttons and replaced with .gif images of
coloured buttons. The functionality is the same - it's
only for aesthetic reasons that I changed them. Each time
the switchboard moves to another switchboard, the buttons
change colour to suit the respective commands. This was
done by adding a [Button] field to the Switchboard Items
table and inserting a line in the VB code behind the form
to update the button to the file listed in this new field.
The problem I am having is that as the buttons are
updated, a small dialog box appears to say that the
pictures are being updated. Is there a way of suppressing
this dialog box so that the form updates a little
more 'elegantly'?
Thanks for your help.
Dave
 
Dave,

It might work if you set warnings to false and turn them back on again in
your code:

DoCmd.SetWarnings False
' Do something
DoCmd.SetWarnings True

HTH,

Neil.
 
Back
Top