How to make an size adjusting object?
Thursday, December 22, 2005 by Schrizsz | Discussion: DesktopX
Like when i resize one object the other object resizes the same amount?
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!








Reply #1 Thursday, December 22, 2005 1:51 PM
You can usually resize the main object to whatever size, then use that object's new size to find the values for the other objects. Sometimes it is just a matter of making things equal:
DesktopX.Object("MainObj").Width = 100
DesktopX.Object("DependantObject").Width = DesktopX.Object("MainObj").Width
Other times you'll use a percentage or other system for getting new size:
DesktopX.Object("MainObj").Width = 100
DesktopX.Object(DependantObjectOne").Width = 0.7*DesktopX.Object("MainObj").Width
DesktopX.Object(DependantObjectTwo").Width = 0.3*DesktopX.Object("MainObj").Width
hth