I have this in my settings window open event:
Dim f as folderitem
Dim t as textinputstream
f=preferencesfolder.child("InternetPal Settings")
if f <> Nil then
t = f.OpenAsTextFile
t.readline //settingsWIN.homepage.text
t.readline //settingsWIN.welcomespeech.text
t.close
end if
SettingsWIN.close
And this in the Save button in my settings window:
Dim f as folderitem
Dim t as textoutputstream
f=preferencesfolder.child("InternetPal Settings")
if f <> Nil then
t = f.CreateTextFile
t.writeline settingsWIN.homepage.text
t.writeline settingsWIN.welcomespeech.text
t.close
end if
SettingsWIN.close
While it does save the file
I am having trouble loading the data and putting it in the proper edit
fields and then using the data like
webkit1.loadurl homepage data goes here
Brian
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|