
Setting Properties - Design View vs Form View
Hi Simon,
You can use 1) in the onOpen event. So, for all practical points of view,
the end effect will be the same. You can also open the form in design view
by programation, and CreateControl or modify them (that is how the wizards
do, but this is a little bit "slow"):
DoCmd.OpenForm "Form1", acDesign
Hope it may help,
Vanderghast
Quote:
>...
> Hi
> 1) If you set a property, say, backcolor, programmatically, when the form
> is in form view, switch back to design view and then back to form view,
the
> property setting reverts to its original value.
> 2) If you set a property in design view, then that value always holds
> whatever view you are in.
> Is there a programmatic equivalent of 2) above without switching to
design
> view, setting the property and then switching back.
> Thanks in advance