Question about next location weather
#1
Hi dudes,

i'm trying something but i really don't know if it's possible. So before i spend other few hours, maybe days Smile i thought it's time to ask here.

I would like to go through my weather locations from a panel container on home.

There is <control type="spincontrolex" id="3"> in MyWeather.xml

i thought i could try with:

<onclick>Control.Message(3,click,[MyWeather.xml])</onclick>

or

<onclick>Control.Message(3,click,[weather])</onclick>

or

SendClick(weather,3)

but no luck. Is there a way to force an onclick to the spincontrol from outside MyWeather.xml ?

Thanx
Reply
#2
What about Weather.LocationNext / Weather.LocationPrevious and Weather.LocationSet? Do they also work only in MyWeather.xml?
Reply
#3
The correct way is

PHP Code:
<onclick>Control.Message(3,click,weather)</onclick

but whether that will work or not I'm not sure.

EDIT: Weather.LocationNext works.
Reply
#4
Thanx guys ! That was fast Smile
Reply
#5
Hmmm sadly it only works if i enter weather window first and come back to home.
Reply
#6
(2014-05-22, 21:14)butchabay Wrote: Hmmm sadly it only works if i enter weather window first and come back to home.

Hello Butch,

For Change Location I use

Code:
<onclick>skin.SetString(WeatherRefreshHome,On)</onclick>
<onclick>ActivateWindow(weather)</onclick>
<onclick>Weather.LocationNext</onclick>
<onclick>ActivateWindow(home)</onclick>
an reset in Window Home
Code:
<onload>skin.Reset(WeatherRefreshHome)</onload>
and the weather window in a group with a skin.string visible.

I see for a few second the Weather background, but it works well for me.

regards
Reply

Logout Mark Read Team Forum Stats Members Help
Question about next location weather0