Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dringend!!! Entry auf 'disabled' setzen

Empfohlene Antworten

Veröffentlicht

Hallo an alle!

ich hab da ein kleines Problem mit Perl/TK :( und hoffe, ihr könnt mir da weiterhelfen.

Zum Programm:

Nachdem der User Daten in die entsprechenden Felder eingetragen hat, klickt er auf einen Button und wird gefragt, ob er alles richtig eingegeben hat. Wenn er dies bejaht, sollen die Felder nicht mehr änderbar sein - also auf 'disabled' gesetzt werden. Wie erreiche ich das?

Danke im Voraus!

MfG

Jusky

hi jusky,

also wenn du ein Entry Feld verwendet hast geht das so:

Name: state

Class: State

Switch: -state

Specifies one of two states for the entry: normal or disabled. If the entry is disabled then the value may not be changed using widget methods and no insertion cursor will be displayed, even if the input focus is in the widget.

$eingabe_feld->configure(-state => disabled);

oder so?!

probiers mal aus oder schreib wie du´s machst

jj

@ root@localhost:

Hallo,

danke nochmal für deine Antwort!!! :)

Bin übrigens auch auf's gleiche Ergebnis gekommen. In meiner Verzweiflung hab ich halt das Motto angewandt: "Learning by doing" - und es hat geklappt! ;)

MfG,

Jusky

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.