Blocking Replace-tab of Find & Replace

  • Thread starter Thread starter bertvanherck
  • Start date Start date
B

bertvanherck

Guest
Hi,

I'm looking for a way to prevent users from using the Replace option, when activating the find-screen via CTRL-F.
On a read-only form it's deactivated automaticly, so I wondered if it's also possible to set this using VBA or autokeys or whatever.
Or, is it possible to make the form temporary read-only while performing the find?

Thanks,

Bert Van Herck
 
Hi Bert
You could look up help for KeyPress Event of the form. Do not forget to set KeyPreview of the form to True.
Basicly you should minitor the values in the KeyPress event and then respond by cancelling in KeyPress event.
Hope it helps
Kaspi
 

Users who are viewing this thread

Back
Top Bottom