Antwort auf: Haushaltsbuch

Startseite Foren Deutsches LiveCode-Forum Haushaltsbuch Antwort auf: Haushaltsbuch

#19310
Oliver122
Teilnehmer

    Hallo Klaus,

    ja empty ist nutzlus. Ich hatte da nur was ausprobiert und dann wieder gelöscht, nur die Zeile vergessen. Aktuell ist das Skript jetzt so und funktioniert auch:

    on dropdown
    if „button“ is in the target and „drop“ is in the name of the target then

    set the label of the target to the selection of the target

    end if

    end dropdown

    on returnInField

    put 0 into gKosten

    repeat with x = 1 to 24

    if fld („leer“&x)>0 then

    add fld („leer“&x)to gKosten

    else

    put 0&“ €“ into fld „display“

    end if

    put gKosten&“ €“ into fld „display“

    end repeat

    end returnInField

    Vor dem „leer“ Feldern sind Dropdown Menüs, wo Kostenarten ausgesucht werden können.