Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where are the default properties stored?

Status
Not open for further replies.

FancyPrairie

Programmer
Oct 16, 2001
2,917
US
In the design view of a form, if you click on the text box icon (or any of the controls), access will display the default properties for it. Where are these default properties stored? I need to read them programmatically.
 
I found it. Here's an example. Note that you can only change the properties of the DefaultControl when the form (or report) is opened in design view.

Dim ctl as Control

Set ctl = Me.DefaultControl(acTextBox)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top