Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   "Resize with form" property on custom controls (http://www.outlookbanter.com/outlook-using-forms/5500-resize-form-property-custom-controls.html)

Vaughan January 24th 06 02:06 PM

"Resize with form" property on custom controls
 
On a form based on the Message form (IPM.Note), the Message control resizes
vertically and horizontally when the form is resized.

With other controls (e.g. frames or Outlook View Controls), ticking the
"Resize with Form" box makes the control resize horizontally, but not
vertically. Can this behaviour be changed in any way?

TIA

Vaughan

Vaughan January 25th 06 03:18 PM

"Resize with form" property on custom controls
 
I found out how to do this using the LayoutFlags property. Details are he

http://support.microsoft.com/kb/q180972/

I haven't tried it out yet, but it seems it will do exactly what I want.

Vaughan

"Vaughan" wrote:

On a form based on the Message form (IPM.Note), the Message control resizes
vertically and horizontally when the form is resized.

With other controls (e.g. frames or Outlook View Controls), ticking the
"Resize with Form" box makes the control resize horizontally, but not
vertically. Can this behaviour be changed in any way?

TIA

Vaughan


Sue Mosher [MVP-Outlook] February 6th 06 09:03 PM

"Resize with form" property on custom controls
 
Note that setting the LayoutFlags property in runtime code will cause the form to one-off. Therefore, you should use it only to set a value while in design mode.

--
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


"Vaughan" wrote in message ...
I found out how to do this using the LayoutFlags property. Details are he

http://support.microsoft.com/kb/q180972/

I haven't tried it out yet, but it seems it will do exactly what I want.

Vaughan

"Vaughan" wrote:

On a form based on the Message form (IPM.Note), the Message control resizes
vertically and horizontally when the form is resized.

With other controls (e.g. frames or Outlook View Controls), ticking the
"Resize with Form" box makes the control resize horizontally, but not
vertically. Can this behaviour be changed in any way?

TIA

Vaughan



All times are GMT +1. The time now is 01: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-2006 OutlookBanter.com