Widget Width
Width
Wednesday, November 30, 2005 by jlaj1989 | Discussion: DesktopX
Reply #2 Wednesday, November 30, 2005 6:54 PM

Reply #3 Wednesday, November 30, 2005 7:02 PM
| To set the object's properties from another object, use DesktopX.ScriptObject("objectname").Text (or .Width) |
This is what i typed in:
| 'Called when the script is executed Sub Object_OnScriptEnter DesktopX.ScriptObject("Test").Width = 100 End Sub 'Called when the script is terminated Sub Object_OnScriptExit End Sub |
Reply #4 Wednesday, November 30, 2005 7:38 PM
| DesktopX.Object("ObjectToBeResized").Width = DesktopX.Object("TextObjectThatYouWantTheOtherToResizeTo").Width |
Using it right now, should work for ya.
Reply #7 Wednesday, November 30, 2005 8:37 PM

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 Wednesday, November 30, 2005 6:26 PM
Object.Text = "This is line one"&chr(13)&"this is line two"
To set the object's properties from another object, use DesktopX.ScriptObject("objectname").Text (or .Width)
Hope this helps.