Startseite › Foren › Deutsches LiveCode-Forum › Variable in App nach Beendigung speichern › Antwort auf: Variable in App nach Beendigung speichern
Januar 19, 2020 um 15:14 Uhr
#18280
Hi Sebastian,
Du kannst THE LABEL Deines Optionbuttons setzen:
...
## Es gibt überhaupt keinen Grund, mit "the defaultfolder" rumzumachen! 8-)
put url("file:" & specialfolderpath("documents") & "/settings.txt") into tColor
## Sofern nötig
set the backgroundcolor of this stack to tColor
## Jetzt kommts:
set the label of btn "der Optionbutton mit der Farbauswahl" to tColor
...
Und natürlich vorher überprüfen, ob diese Datei überhaupt schon vorhanden ist, nicht wahr?!
Gruß
Klaus