XWidgetSoft Forum
https://www.bbs.xwidget.com/

Save/Read Data To/From Txt?
https://www.bbs.xwidget.com/viewtopic.php?f=8&t=5419
Page 1 of 1

Author:  kabott1 [ January 20th, 2015, 4:59 pm ]
Post subject:  Save/Read Data To/From Txt?

Hey-all! the Menu is *finished* 16 ShortcutlistCores! with sounds and all! 8-) and auto-slide after 20 seconds.

However.. i realized in case of a irreconcilable windows crash, an xwidget miss-backup or just lighting frying my cpu, It would be really nice if the widget saved the data to a .tx. or .inc file, so it always knows what are the shortcut paths, menu names, etc (menu names are fix for now, i got discouraged realizing if something goes wrong im gonna have to re-arrange and re-name everything again )

Is there a way to accomplish this?

Thanks!

Attachment:
Default.png
Default.png [ 8.63 KiB | Viewed 4348 times ]

Attachment:
nav_bottommenu_v1.xwp [4.22 MiB]
Downloaded 328 times

Author:  meme [ January 20th, 2015, 5:32 pm ]
Post subject:  Re: Save/Read Data To/From Txt?

Great job kabott1... looks good
Still a few little things to finish... impressive :D

If you add to each of your ShortcutListCore - OnUpdate the function

function ShortcutListCoreOnUpdate(Sender)
{
SaveAsDefIni()
}

Changes to the cores are saved in the config.ini file and loaded automatically on restart. Packaging your widget and backing it up will have all these settings

Author:  kabott1 [ January 20th, 2015, 7:29 pm ]
Post subject:  Re: Save/Read Data To/From Txt?

This is great! just great and so simple! thank you Meme!
Ill post the menu when its Finished!

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/