TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: arbitrajeu on October 24, 2003, 05:16:22 PM

Title: "Region 9" the city and RSS information region
Post by: arbitrajeu on October 24, 2003, 05:16:22 PM
srs,

I'm a little bemused about some of the concepts around weather and RSS information.  Specifically, in your most recent uploaded skin I don't understand the following lines:

region,9,1000,-1
endregion,9,1000

Why do you need a page 1000?

More generally, I'd love to understand the reasoning behind wrapping the load commands in pages within a separate region.  Some of my confusion may be due to the fact that region 9 doesn't have a defregion in your skin file.
Title: region,9,1000,-1
Post by: Lordtwisted on October 24, 2003, 05:34:39 PM
Quoteregion,9,1000,-1
endregion,9,1000

Why do you need a page 1000?

More generally, I'd love to understand the reasoning behind wrapping the load commands in pages within a separate region. Some of my confusion may be due to the fact that region 9 doesn't have a defregion in your skin file.

arbitrajeu,

 region 9 is an empty region. It is used to cover up a region when you want to view another region in the same place.


Lordtwisted
Title: "Region 9" the city and RSS information region
Post by: srs on October 24, 2003, 06:36:13 PM
the point of region 9 is to reduce the amount of typing.  Region 9 loads the data, while region,0 displays it.  Using this method the same region and page are used to display the info for both cities / all rss pages, etc.  This also makes it much easier to add cities / rss pages as you would only need to add a page to region 9 (which is very short) instead of a new page to display the data (lots of typing).

Basically region,9 loads the different data while other regions actually display it.

The region,1000 is so that no data is loaded (because we're not displaying rss or weather) and probably saves a couple of milliseconds time.