Switching Hidden / system objects programatically

  • Thread starter Thread starter bzamfir
  • Start date Start date
B

bzamfir

Hi,

Is there any way to switch visible status for hodden / system objects
programatically in Access?
Anythink like properties AllowBypassKey, AllowContextMenu, etc

Regards,
Bogdan
 
bzamfir said:
Hi,

Is there any way to switch visible status for hodden / system objects
programatically in Access?
Anythink like properties AllowBypassKey, AllowContextMenu, etc

Application.SetOption "Show Hidden Objects", True (or False)
Application.SetOption "Show System Objects", True (or False)

But be aware that these are not database-specific options, but
application-wide. If your application screws around with *my* Access
settings, it goes into the trash can.
 
Hi,

Thank you very much.
One more question

Can I use this approach for any other setting from Options dialog?
Or, do you know if this strings are the same for different Access language
versions, or they are language specific?

Regards,
Bogdan
 
Hi,

I checked for SetOptions method in help, and found all possible settings.

Thanks again.
 
Back
Top