The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: Problem writing Configs back to xPLHal


  • Subject: RE: Problem writing Configs back to xPLHal
  • From: Tony Tofts
  • Date: Wed, 21 Jan 2004 16:13:00 +0000

> I'm trying to save the current screen position of my OSD app
> to xPLHal on exit. But hit a problem, again.

Hi Peter,

What's happening is this

1) app loads with default values
2) app gets configured by xplhal (or xplhal learns default values)
3) app dynamically changes values
4) app exits saving dynamic changes

Then

1) app loads with default values
2) app loads saved values
3) xplhal sends last known values (not the dynamic ones)

The only way around this I can see is that whenever the app updates a
config
item, the ocx would need to send a config.current so xplhal is always
up-to-date

Hadn't really planned on the app dynamically changing the values (hence no
user interface to change the values of config items in my vb6 frameworks).

In fact I only saw the ability to change the config items values as being
used at app load to set defaults really.

Thoughts/comments anyone?

Thanks
Tony







xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.