DX Script

Monday, November 24, 2003 by Stealth870 | Discussion: WinCustomize Talk

Ok, this is what I want, when an object is clicked on it, it makes a group of objects visible. So on the clickable object I put:

Sub Object_OnClick

gmenu.visible = True

End Sub

gmenu ONE of the objects I want visible on click. But it won't appear! Its on screen, but in its script I put that on Script Enter "visible = false". That should change when I click on the other object though right?



pjpowell
Reply #1 Monday, November 24, 2003 7:11 PM
as far as I know there is no onclick event yet. You need to use :

Sub Object_OnStateChange(state)
if state = "Mouse up" then
gmenu.visible=True
end if
end sub
Kevin_C
Reply #2 Tuesday, November 25, 2003 2:50 PM
Are there any in depth docs on the DX object model? I want to cause the timer of one object to fire from another object. Is this possible?



Powered by SkinBrowser!
Kevin_C
Reply #3 Tuesday, November 25, 2003 8:06 PM
nm on this I found a link to the DX pdf file in of all places the news.stardock.com DX group.. I guess things have picked up there, last time I visited there hadn't been a new post in the DX groups in months and I felt it would be a bit of a waste to ask an empty forum a question..



Powered by SkinBrowser!
rmiles7721
Reply #4 Tuesday, November 25, 2003 8:21 PM
There are several people that lurk there just to check, even when there are no posts.
bakerstreet
Reply #5 Tuesday, November 25, 2003 11:40 PM
Stealth870: I don't think you really need to script this. The onClick type messages can be sent via the traditional object properties, in the states - messages tab, if I am not mistaken. You would just create a 'Mouse Down' state, then go to the messages tab and select the object from the dropdown you want to alert, and then select 'show' from the available states.

I'm doing this from memory so bear with me. Have only been monkeying with it for a week or two.

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!



web-wc01