Autor Beitrag
G-man
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 258

Win 2000, Win ME, SuSE 8.2
D5 Standard, D6 Professional
BeitragVerfasst: Di 27.05.03 10:54 
Hallo,
ich habe eine Checkbox und ein Memo(Enabled= False) und nur wenn die Checkbox gecheckt ist soll das Memo Enabled: true sein, sonst nicht.

G-man
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 27.05.03 11:03 
Ich würde ins onclick-Event der Checkbox etwas in der Art reinschreiben:
ausblenden Quelltext
1:
memo1.enabled:=checkbox1.checked;					

Damit ist das genau dann Memo enabled, wenn die Checkbox gecheckt ist.
(kann sein, dass mans auch in andere Events reinpacken sollte, hab hier grade kein Delphi, und auswendig weiss ich nicht alle Events von Checkbox...)

_________________
We are, we were and will not be.