Antwort auf: Buttongruppe auf Handy – anderes Verhalten als in der IDE

Startseite Foren Deutsches LiveCode-Forum Buttongruppe auf Handy – anderes Verhalten als in der IDE Antwort auf: Buttongruppe auf Handy – anderes Verhalten als in der IDE

#13577
Klaus Major
Administrator

    Ein paar nützliche Tips:
    the name of btn x -> button „names des buttons“
    the short name of btn x -> name des buttons (Ohne Anführungszeichen!)

    Wegen:

    ...
    set the itemDelimiter to space
    put item 2 of the target into tBtn
    replace quote with empty in tBtn
    ...

    -> put the short name of the target into tBtn

    Effektiver, aber nicht in diesem Beispiel 🙂

    ...
    set the itemDelimiter to space
    put item 2 of the target into tBtn
    ...

    -> Put word 2 of the target into tBtn

    ...
    disable group "cyrillicKeyboard" of this card
    ...

    Da wir uns ja schon auf „this card“ befinden, kannst Du das „of this card“ getrost weglassen.
    Dito „… of me“, sofern es sich nicht um das Skript einer GRUPPE handelt, was ein Objekt in dieser Gruppe anspricht.