Calendar Controls Unexpectedly Resize or Move on a Custom Form

  • Thread starter Thread starter fred
  • Start date Start date
F

fred

I customized a messsage form and added "calendar control
9.0" from the toolbox to the form. The form is set to use
the compose and edit pages.

I added the script from the Microsoft Knowledge Base
Article -238602 titled --> (OL2000: Controls Unexpectedly
Resize or Move on a Custom Form) to my form. It does work
and correct the calendar size for the compose page.

It does not correct the calendar size for the read page?

Does anyone know how to correct the calendar resizing for
the read page of my form?

Thanks in Advance,

Fred --
 
Hi Sue,

Thanks for the reply. Yes, I published the form and the
script works fine when the form is opened to compose it.
Once the form is sent and opened up on the recipient end
the calendar object is resized.

I added event code for the read, write and send events in
addition to the open event, to size/position the calendar
control. None of them work in maintaining the proper
size/position of the control when the recipient opens the
form.

Any ideas?

Thanks again,

Fred
-----Original Message-----
Did you publish your form? Code will not run in
unpublished forms if you are up to date on service packs.
 
But *where* did you publish the form? What is the state of the "send form definition with item" check box?
 
Hi Sue,

I published the form in my Personal Forms Library.
The "send form definition with item" check box is selected.

Thanks,

Fred
-----Original Message-----
But *where* did you publish the form? What is the state
of the "send form definition with item" check box?
 
That's the cause of the problem. Your form is a one-off -- the form definition is embedded in the item, and therefore, the code does not run at the recipient end. The solution is to uncheck that box and publish the form to the Organizational Forms library so everyone in your Exchange organization has access to it.
 
Sue,

That was it!! Thank You so much. I should have figured
that out before due to the fact that the Message icon was
being displayed on the recipient end vs the Post icon,
which I believe is the default icon for non-one-off custom
forms?

Thanks Again ...

Fred -

-----Original Message-----
That's the cause of the problem. Your form is a one-off --
the form definition is embedded in the item, and
therefore, the code does not run at the recipient end. The
solution is to uncheck that box and publish the form to
the Organizational Forms library so everyone in your
Exchange organization has access to it.
 
Back
Top