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  

Custom shapes with special behaviour



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12  
Old July 20th, 2009, 05:59 PM posted to microsoft.public.visio.general
Jac Tremblay
external usenet poster
 
Posts: 23
Default Custom shapes with special behaviour

Hi WapperDude,
I like your solution. I will check it out a bit more and come back with a
more complete answer as soon as I can.
Thanks.
--
Jac Tremblay


"WapperDude" wrote:

Just for the sake of having an optional way to do this, it is possible to do
it without grouping. The steps are basically the same as John indicated,
except you don't need to change the re-size mode, and you don't group. Let's
say the large rectangle has an ID =1, and small rectangle is ID=2.

Select and open small rectangle shape sheet.
Set PinX = guard(sheet.1!PinX)
Set PinY = guard(sheet.1!PinY).
Set LocPinX = width*0
Set LocPinY = height*1

Select and open large reectangle shape sheet
Set LocPinX = width*0
Set LocPinY = height*1.

This gives the same functionality as the grouping technique bit now either
shape is selectable with a single click.

HTH
Wapperdude


"Jac Tremblay" wrote:

Hi John,
As I can see, there is not much I can do. Actually, I wanted a rectangular
shape with a small rectangle at the top left corner. That small one would
always be the same size and would stay at the top left corner of the big
rectangle no matter how the big one is resized.
I guess I will forget about my idea.
Thank you for your answer, it is very appreciated.
--
Jac Tremblay


"John Goldsmith_Visio_MVP" wrote:

Hello Jac,

Checkout this blog post:

http://blogs.msdn.com/visio/archive/...esizemode.aspx

Best regards

John


John Goldsmith (Visio MVP)
www.visualSignals.typepad.co.uk
www.visualSignals.co.uk


"Jac Tremblay" wrote in message
...
Hi,

I use Visio 2003 and 2007.

I want to know if it is possible to create a custom shape from two
rectangles (for example) grouped together and have only one rectangle be
resized when the custom shape is resized?

I do not want the user to have to ungroup the components to do the job.

Thanks for any help.
--
Jac Tremblay


 




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


All times are GMT +1. The time now is 02:20 PM.


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