Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Restore Settings  (Read 2833 times)

0 Members and 1 Guest are viewing this topic.

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Restore Settings
« on: June 29, 2011, 05:03:28 PM »

Hi again..  ;D

i have create a check box (on/off) and when i press over it changing..
ok button --> save to registry.

so, when i change the check box to on to off --> when i press ok everything is fine..
the problem is when i press esc button.. i don't have the restore settings..

any solution?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Restore Settings
« Reply #1 on: June 29, 2011, 05:48:26 PM »

Store the original value in a variable and restore it yourself.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: Restore Settings
« Reply #2 on: June 29, 2011, 09:57:50 PM »

Thanks Mnemonic!  8)
Logged
 

Page created in 0.061 seconds with 24 queries.