A Microsoft Office (Excel, Word) forum. OfficeFrustration

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 » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Recreating the Blank Form



 
 
Thread Tools Display Modes
  #1  
Old August 20th, 2004, 10:19 PM
Jeff Johnson
external usenet poster
 
Posts: n/a
Default Recreating the Blank Form

The "Blank Form" shape that ships with the "Windows and Dialogs" stencil in
VS 2003 behaves differently than normal shapes in that the window header
does not scale vertically when the overall window scales. I'd like to
recreate this behavior but am having a tough time.

It looks to me like there are 4 connection points that glue the header and
the body of the window to the box frame. Beyond that I'm not sure how it
goes together. Once I group a header shape with vertical height protected to
another shape, the height of the header still scales with the scaling of the
group.

I've tried ungrouping the sample window but VS tells me that shape
protection or layer properties prevent the command from completing.

If anyone can tell me how to glue a grouped element to another element and
retain its protection properties I'd really appreciate it.

Thanks!

Jeff


  #2  
Old August 21st, 2004, 06:56 AM
Mark Nelson [MS]
external usenet poster
 
Posts: n/a
Default

Actually the connection points have nothing to do with the behavior of the
header. They are there so that you can glue toolbars into the form shape.

The header has custom formulas to control its height and its placement
relative to the top of the frame. They are not complicated, but you do have
to use the Shapesheet window to set these up. The Height of the header is a
fixed value instead of a value dependent on the height of the overall frame.
The position of the header is determine by subtracting a fixed amount from
the height of the frame.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

"Jeff Johnson" wrote in message
...
The "Blank Form" shape that ships with the "Windows and Dialogs" stencil

in
VS 2003 behaves differently than normal shapes in that the window header
does not scale vertically when the overall window scales. I'd like to
recreate this behavior but am having a tough time.

It looks to me like there are 4 connection points that glue the header and
the body of the window to the box frame. Beyond that I'm not sure how it
goes together. Once I group a header shape with vertical height protected

to
another shape, the height of the header still scales with the scaling of

the
group.

I've tried ungrouping the sample window but VS tells me that shape
protection or layer properties prevent the command from completing.

If anyone can tell me how to glue a grouped element to another element and
retain its protection properties I'd really appreciate it.

Thanks!

Jeff




 




Thread Tools
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank Form When Parameter Query Set Dexter Crawford General Discussion 1 August 2nd, 2004 05:27 AM
copying a form Jim VanGordon Using Forms 3 July 30th, 2004 03:14 AM
auto entry into second table after update Tony New Users 13 July 9th, 2004 10:42 PM


All times are GMT +1. The time now is 07:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.