form region not shown properly

S

sd

hello!
I've added form region to compose message.It is shown as adjoining but
sometimes some extra space is being shown between controls on form
region(2-3 extra rows).when i open the ofs file,I see the controls are
placed properly with no extra space between them.from where then these
extra spaces(2-3 rows) appear?(I'm using VSTO vb 2005 addin)My second
problem is how can I've separate form regions for read preview,compose
& read.Do I need 3 ofs?any link will be really helpful
Thanks!
 
K

Ken Slovak - [MVP - Outlook]

I don't know why the extra rows are appearing, you have to do some detective
work and see if there's anything different when the rows appear and when
they don't. Is it always on the same messages for example.

If you want different form regions for different modes for a mail item you
need separate OFS files. You will also need separate XML for each form
region.

If you just want to use the same form region you just need to hook it up to
those modes in the XML for the form region.

For preview use <showReadingPane>true</showReadingPane>, for compose mode
use <showInspectorCompose>true</showInspectorCompose> and for read mode use
<showInspectorRead>true</showInspectorRead>.
 
S

sd

Thanks Ken!
It seems that extra rows appear when I compose message second
time(first time it doesn't appear) & thereafter extra rows appear
always when I compose message.But if I open the message from Inbox &
then compose message,extra rows disappear.(I've form region adjoined
to read message also).I'am not uderstanding the reason behind this.
Thanks again!
 
S

sd

Thanks!
It seems that extra rows appear when I compose message second
time(first time it doesn't appear) & thereafter extra rows appear
always when I compose message.But if I open the message from Inbox &
then compose message,extra rows disappear.(I've form region adjoined
to read message also)
Thanks again!


I don't know why the extra rows are appearing, you have to do some detective
work and see if there's anything different when the rows appear and when
they don't. Is it always on the same messages for example.

If you want different form regions for different modes for a mail item you
need separate OFS files. You will also need separate XML for each form
region.

If you just want to use the same form region you just need to hook it up to
those modes in the XML for the form region.

For preview use <showReadingPane>true</showReadingPane>, for compose mode
use <showInspectorCompose>true</showInspectorCompose> and for read mode use
<showInspectorRead>true</showInspectorRead>.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm




hello!
I've added form region to compose message.It is shown as adjoining but
sometimes some extra space is being shown between controls on form
region(2-3 extra rows).when i open the ofs file,I see the controls are
placed properly with no extra space between them.from where then these
extra spaces(2-3 rows) appear?(I'm using VSTO vb 2005 addin)My second
problem is how can I've separate form regions for read preview,compose
& read.Do I need 3 ofs?any link will be really helpful
Thanks!- Hide quoted text -

- Show quoted text -
 
K

Ken Slovak - [MVP - Outlook]

Again this is detective work you'll have to do. My guess is that you have
perhaps more than one form region running at a time or that somehow you're
adding rows in your code and that there's a hangover of rows from one mode
to another.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top