5 What about the initial values of UI object properties?

Whatever you see in the “Property Sheet” of an user interface object are the initial values. This means that every time the form is open, the properties of a user interface object are preloaded with the values seen in the “Property Sheet”.

If the initial property value of an UI object should not be static, then you need to specify custom code to initialize it. A good place to specify this code is the “On Open” event handler of a form. The “On Open” event handler executes after the default (static) initial values are loaded into UI object properties, and before a form becomes visible.

Note that during development, any switch from “Design View” to “Form View” also triggers the “On Open” event handler.