• Welcome to TodayPlus Boards v2.
 

Little help with popups

Started by LightMan, December 05, 2003, 07:17:09 AM

Previous topic - Next topic

LightMan

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?
[size=9]-= Ipaq 2215, 1 Gb CF, 512 Mb SD, Crystal Clear case =-[/size]

LightMan

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.
[size=9]-= Ipaq 2215, 1 Gb CF, 512 Mb SD, Crystal Clear case =-[/size]

fishboy

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
Axim X5 Advanced, Windows Mobile 2003

jhollin1138

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?
Jim H

srs

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).

fishboy

FYI, added this info to the updateregions command of the skin reference to be posted later.
Axim X5 Advanced, Windows Mobile 2003

LightMan

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 ;)
[size=9]-= Ipaq 2215, 1 Gb CF, 512 Mb SD, Crystal Clear case =-[/size]

LightMan

...just to finalize this, here's what I settled with : (simply tweaked fishboy's popup in the same region)
[size=9]-= Ipaq 2215, 1 Gb CF, 512 Mb SD, Crystal Clear case =-[/size]

srs

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...

LightMan

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.
[size=9]-= Ipaq 2215, 1 Gb CF, 512 Mb SD, Crystal Clear case =-[/size]