I'm still a little confused about the repro steps. Your first repro steps implied that the effect is seen at runtime, but the later message says it's broken in design mode. Is it a problem in both? Maybe you could try again to give us an exact sequence of steps to follow to both create the form with the problem and reproduce the bad behavior itself.
Are you using any form regions? I can get the bad behavior I'm seeing (which may be different from yours) to reproduce consistently only when I have a form region also action for IPM.Note.
Also, is your screen resolution set to 96dpi, the default?
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"sergeya" wrote in message ...
Sue,
1. In case if Message form from Standard Forms Library is opened in Design
mode and published with no changes, everything works fine. In case if any
change is made to any control on the form, e.g. remove one of the controls or
change any size or position - resizing breaks as described below, regardless
whether custom form is opened from the .oft file or from personal library.
Again, it breaks only after click into Message control happens.
After resizing problem occured once, it happens every time the custom form
is run from the libabry or disk, until Outlook restart. Looks like it does
not affect items except for Design mode.
After erroneous situation occurs, Design mode is broken - To, CC, Subject
and Message controls in Message form from Standard Forms Library are
displayed in half the size and width. After Outlook restart Message form in
design mode looks fine again (if forms were not saved)
Looks like a bug in OL2007 - any feedback from MS ?
-Sergey
"Sue Mosher [MVP-Outlook]" wrote:
Thanks for the detailed steps. Did you do anything while in design mode to change the position or size of the subject and message controls? You didn't say, so I improvised by making both a little bit narrower. When I created a new item with the form, the message control was nearly twice as high and twice as wide as on the original designed form (which I still had open for comparison).
When you say the problem persists until the next Outlook restart, do you mean it affects all items, even those not created with this form?
There's definitely something weird going on with the message control. I have a Vista system where it's messed up so badly that on some forms it doesn't show up at all in design mode.
"sergeya" wrote in message ...
Outlook version: OL2007 (12.0.4518.1014) MSO (12.0.4518.1014) OS version:
Windows XP 5.1.2600 Service Pack 2 Build 2600
1. A custom form is designed based on the standard email form, inherited
from standard IPM.Note.
Custom form contains 2 standard controls: subject field and a message
control, both controls have "Automatically resize with form" checkbox
enabled.
2. Steps to reproduce:
- Create the form and save as .oft file
- Open custom form using "Tools-Forms-Choose Form", select "look In"
location "User Templates in File System", browse to saved .oft file and open
it.
- Select subject control in the custom form (selected by default)
- Try to resize the main window: subject and message controls resize OK with
it.
- Change focus to any other window
- Change focus back to the custom form
- Click on the message control in the custom form (this is important! -
resizing works correctly until message control in the custom form is selected)
- Try to resize the main window again: subject and message controls in the
custom form are not resized with the form.
The problem persists until next Outlook restart.
Any workarounds of fixes ?