TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: LightMan on December 05, 2003, 07:17:09 AM

Title: Little help with popups
Post by: LightMan on December 05, 2003, 07:17:09 AM
I'm trying to have the quicklaunch popup to appear over a region, but since I haven't had time to dig through the updated reference file, so far I haven't got a clue as to how to disable the buttons of the region that is  (tried the deactivate command, but it didn't work for some reason)

Also, I need it to clear the screen when its closed, but it's not doing that either.

Can anyone shed some quick light into any of these issues?
Title: Little help with popups
Post by: LightMan on December 05, 2003, 07:19:38 AM
btw, here's the skin if someone wants to take a look at it in order to help.

It's the last 2 regions of the skin.
Title: Little help with popups
Post by: fishboy on December 05, 2003, 03:32:45 PM
I will try to take a look and see if I can help if I get the chance (on vacation the next few days).  I wrote a laucher with a popup menu that works, but the menu pops up over the icons instead of above them (the menu is displayed in its own region).  I use the deactive/activate buttons commands and updateregions command.  I would think with a little modification this same code should work for you.  Here is the link in case you have not seen it.

http://dark-mojo.com/TodayPlus/viewtopic.php?p=3556#3556
Title: Little help with popups
Post by: jhollin1138 on December 05, 2003, 03:47:18 PM
Since the launcer pop-up is displaying over the POOM region, don't you need to refresh the POOM region after closing the pop-up?
Title: Little help with popups
Post by: srs on December 05, 2003, 04:34:09 PM
yes, the tasks region needs to be redrawn when the popup is closed, so adding a

updateregions,1

should work.

also you will need to move the popup region above region 1, as the updateregions command only works on subsequent lines (ie if it is encountered after region,1 it won't update region 1).
Title: Little help with popups
Post by: fishboy on December 07, 2003, 10:23:20 AM
FYI, added this info to the updateregions command of the skin reference to be posted later.
Title: Little help with popups
Post by: LightMan on December 11, 2003, 07:06:50 AM
Quote from: srsyes, the tasks region needs to be redrawn when the popup is closed, so adding a
updateregions,1
should work.
also you will need to move the popup region above region 1, as the updateregions command only works on subsequent lines (ie if it is encountered after region,1 it won't update region 1).

I had the "updateregions,1" alone and it didn't work.

So I tried your suggestion of moving the popup region above region 1, but then, it's another region that is overlapped by the popup and no longer region 1 , which will show up below the popup region ... *sigh* I guess I'll stick with the popup over the same region, like in fishboy's launcher ...

Thanks for the tips guys :)

@fishboy : as I mentioned in my Intuition skin thread, my launcher is based upon yours already :) Nice job with it btw ;)
Title: Little help with popups
Post by: LightMan on December 11, 2003, 07:52:03 AM
...just to finalize this, here's what I settled with : (simply tweaked fishboy's popup in the same region)
Title: Little help with popups
Post by: srs on December 11, 2003, 01:38:48 PM
hmmmm...

not sure what I was thinking before, but changing:

imagebutton,211,2,expand active.png,t,18,4,0,16,17 to
imagebutton,211,2,expand active.png,t,18,4,0,16,17,1

in region,18,100 is the best solution.  I just tried it and it works fine...
Title: Little help with popups
Post by: LightMan on December 12, 2003, 06:22:11 AM
Quote from: srshmmmm...

not sure what I was thinking before, but changing:

imagebutton,211,2,expand active.png,t,18,4,0,16,17 to
imagebutton,211,2,expand active.png,t,18,4,0,16,17,1

in region,18,100 is the best solution.  I just tried it and it works fine...

Thanks, I will try that.