Antwort auf: Variable in App nach Beendigung speichern

Startseite Foren Deutsches LiveCode-Forum Variable in App nach Beendigung speichern Antwort auf: Variable in App nach Beendigung speichern

#18280
Klaus Major
Administrator

    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