TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: Doemaarwat on October 25, 2003, 02:21:27 PM

Title: region/defregion/offsetadd
Post by: Doemaarwat on October 25, 2003, 02:21:27 PM
I am having a bit of troubles with the regions and offsetadd commands. I was modifying de default skin (0.9.5) and thought I understoud it. But I have this weird behaviour.

When I startup my screen looks like this:
(http://members.chello.nl/~ravelin/images/error0.jpg)

If I press my weather icon it looks like this:
(http://members.chello.nl/~ravelin/images/error1.jpg)

After I press the refresh button it looks good again:
(http://members.chello.nl/~ravelin/images/refresh1.jpg)

When I collaps the agendaregion my batterybar is gone for a couple of seconds but appears again.

Same behave for the timezones:
(http://members.chello.nl/~ravelin/images/error3.jpg)
Refresh:
(http://members.chello.nl/~ravelin/images/error4.jpg)

I attached my skinfile. Can someone give me a hint?

PS: Dont look at the rss and shorcuts, cause I was still working on it. But hey why not give me a hint for that too ;)
Title: region/defregion/offsetadd
Post by: rbg08 on October 25, 2003, 05:47:38 PM
It looks like your defregion is too "tall" for the region that displays weather.  I'm at work so I can't download your file to check it, but looks similar to a problem I had once.
Title: region/defregion/offsetadd
Post by: srs on October 25, 2003, 09:47:29 PM
well it looks like you reduced the height for the weather pages to 34 pixels, but left the the owerinfo and other pages to > 34 pixels.  you either want to make all the pages the same height or do a full refresh somewhere (which will change the total height of the plugin)

edit: also you don't need to do this region,0,0,600 because the new info will not be automatically downloaded.  New data from the internet will only be download when either the refresh button / or activesynce is done.
Title: region/defregion/offsetadd
Post by: Doemaarwat on October 26, 2003, 01:34:05 AM
Thx for the help. I just woke up, will be trying to fix it this evening. I'll let you know.

Edit: I had my defregions larger then my offsetadds. I fixed it and it works. :)

But still have a 'minor' problem.

I do not want the back button when going back from the subpage of the weather forecasts. So I replaced:

imagebutton,226,2,back.png,t,0,3,,9
with
button,0,0,240,35,0,3,
It goes back to the previous page, but doesn't let me see any values or images. Just the % and the time. Any suggestions?
Title: region/defregion/offsetadd
Post by: srs on October 26, 2003, 04:08:14 PM
you forgot to tell it to update region 9.  with you button when it is pressed only region 0 will be updated, and since region 9 is not, no data is loaded.

it should look like thisbutton,0,0,240,35,0,3,,9
Title: region/defregion/offsetadd
Post by: Doemaarwat on October 26, 2003, 04:12:33 PM
Quote from: srsyou forgot to tell it to update region 9.  with you button when it is pressed only region 0 will be updated, and since region 9 is not, no data is loaded.

it should look like thisbutton,0,0,240,35,0,3,,9
Darn, I tried it, but missed a comma ;)

I had it like this:

button,0,0,240,35,0,3,9


Thx.
Title: region/defregion/offsetadd
Post by: srs on October 26, 2003, 04:51:18 PM
yes you have to be careful about commas.  in you case you were putting the 9 in the "data" field of the button