ms access - How to Intercept built-in Find Procedure? -


in access project have custom find procedure.

now want eradicate built-in find procedure user doesn't try use that.

so have 2 tasks acccomplish:

  1. intercept ctrl+f hotkey
  2. remove find button ribbon.

on main form have key preview enabled, , know how detect keypresses, i'm not sure how detect ctrl key.

now do?

you can check if shift = 2. shift value 1 if shift pressed, 2 if ctrl pressed, 4 if alt pressed, sum of values if 2 or 3 of buttons pressed or 0 if none of them pressed. if statement should this:

if keycode = vbkeyf , shift = 2     keycode = 0 end if 

Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -