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. |
|
|
Thread Tools | Display Modes |
#12
|
|||
|
|||
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 | |
|
|