Sliding Left Panel w/ Popup Apps Panel

Saturday, August 4, 2007 by Snap Hook | Discussion: DesktopX

I suspect this can be done and has probably been answered a bazillion times before, but for the life of me I can't get it.

I have a left screen panel that slides off the screen to the left.  There are object controllers that popup a seperate panel with app shortcuts.  Very common.  If I lock the side panel in place the popup app panels appear 25 pixels to the right of it, but if I unlock the panel and slide it out from off the screen, the popup app panels appear 25 pixels from the left screen edge, behind the now visible sliding panel.

The Relations are (in order):

Always on top

Locked

Default

Single Click

Menu (Closed on any action)

Normal Select

There is no parent, grouping or widget.

Can someone please give me some suggestions on how to get the panels to appear 25 pixels from the sliding panel edge, regardless of lock status?

SirSmiley
Reply #1 Sunday, August 5, 2007 1:34 AM
What you need to do is in the script set PopUpPanel to align to the right of the side panel & every time you change it either from hidden/lock or open it would than adjust the panel Pop Up Panels.

For Example:
Code: vbscript
  1. Object1="Side Panel"
  2. Object2="PopUpPanel"
  3. Sub posPanels
  4. DesktopX.Object(Object2).Left=DesktopX.Object(Object1).Right+25
  5. End Sub
Snap Hook
Reply #2 Sunday, August 5, 2007 10:43 AM
After much frustration with the lack of documentation, rusty programming skills and DX builder crashing at regular intervals, probably because it didn't like my code, I think I've got it. Another bottle of Rogain, please.

Is there a resource that explains the DX scripting language, actions and subroutines, such as Object_OnStateChange(state)? I finally figured out that Sub Object_OnScriptEnter executes at DX load, but never again, and had to put the code in the OnStateChange sub. I checked the Stardock site, but if a reference other than https://www.stardock.com/products/desktopx/documentation/scripting/intro.asp is available, they have hidden it away somewhere not readily found.

Thanks for the help, SirSmiley
SirSmiley
Reply #3 Sunday, August 5, 2007 12:14 PM
Full reference is here https://www.stardock.com/products/desktopx/documentation/index.asp.

Also check out the wiki & DesktopX Tutorials

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