A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

form region not shown properly



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 15th 07, 03:23 PM posted to microsoft.public.outlook.program_vba
sd[_2_]
external usenet poster
 
Posts: 69
Default form region not shown properly

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!

  #2  
Old October 15th 07, 04:10 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default form region not shown properly

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 showReadingPanetrue/showReadingPane, for compose mode
use showInspectorComposetrue/showInspectorCompose and for read mode use
showInspectorReadtrue/showInspectorRead.

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


"sd" wrote in message
oups.com...
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!


  #3  
Old October 17th 07, 02:48 PM posted to microsoft.public.outlook.program_vba
sd[_2_]
external usenet poster
 
Posts: 69
Default form region not shown properly

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!

  #4  
Old October 17th 07, 02:49 PM posted to microsoft.public.outlook.program_vba
sd[_2_]
external usenet poster
 
Posts: 69
Default form region not shown properly

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!


On Oct 15, 8:10 pm, "Ken Slovak - [MVP - Outlook]"
wrote:
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 showReadingPanetrue/showReadingPane, for compose mode
use showInspectorComposetrue/showInspectorCompose and for read mode use
showInspectorReadtrue/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

"sd" wrote in message

oups.com...



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 -



  #5  
Old October 17th 07, 09:09 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default form region not shown properly

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.

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


"sd" wrote in message
oups.com...
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!


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
'adjoining' form region Alan Outlook - Using Forms 1 May 29th 07 05:42 PM
Communicate with a Form Region Vbasiccode Outlook - Using Forms 5 May 9th 07 10:51 PM
forward an attachment with form region Nikolas Outlook - Using Forms 4 March 16th 07 10:44 AM
only one instance of form region is displayed Nikolas Outlook - Using Forms 4 October 6th 06 03:37 PM
OL 2007 - Set custom form region as default Fidget Brain Outlook - Using Forms 8 July 6th 06 03:36 PM


All times are GMT +1. The time now is 12:25 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.