Select StringField(FormattedColor, 1, "(") PureBasic - Preference example file (c) Fantaisie Software - IfCreatePreferences(GetTemporaryDirectory()+'Preferences.prefs') PreferenceGroup('Global') WritePreferenceString('ApplicationName', 'MP3 Player') WritePreferenceString('Version', '1. Some people will said you must save your file in user application data. nothing works ok, i will be nice, it woks 50 of time. Having only 1 preference file accessible at one time is sometimes (in my cases often) not sufficient. Values.s = StringField(StringField(FormattedColor, 2, "("), 1, ")") my problem is to save/edit preference file when i install my program in program files. PureBasic Expert Posts: 445 Joined: Sat 10:56 am Location: Vienna - Austria. for data loss, damage or other annoyingįormattedColor.s = "RGB(" + RSet(Str(Red(Color)), 3, "0") + ", " + RSet(Str(Green(Color)), 3, "0") + ", " + RSet(Str(Blue(Color)), 3, "0") + ")"įormattedColor.s = "RGBA(" + RSet(Str(Red(Color)), 3, "0") + ", " + RSet(Str(Green(Color)), 3, "0") + ", " + RSet(Str(Blue(Color)), 3, "0") + ", " + RSet(Str(Alpha(Color)), 3, "0") + ")" Code: Select all Global appDelegate CocoaMessage(0, CocoaMessage(0, 0, 'NSApplication sharedApplication'), 'delegate') Global delegateClass CocoaMessage(0. Official Sublime Text package for Architect, including syntax highlighting for the Architect file format (app.arc. The author can in no way be held responsible This code is free to be use where ever you like All files are 'EnableExplicit safe' and 'Multiple-include safe' 7Zip. Most of these come from my own projects, others were written for the PB forums, and some were never used at all.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |