Autor Beitrag
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: So 11.05.03 19:02 
Hallo,

also wie schon im Titel beschrieben suche ich eine einfache Möglichkeit, meine Buttons zu en- bzw. disablen. Ich habe schon überall gesucht, aber bis auf BM_SETSTYLE habe ich nichts dazu gefunden. :?

_________________
If accidentally read, induce vomitting.
MSCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1448
Erhaltene Danke: 3

W7 64
XE2, SQL, DevExpress, DevArt, Oracle, SQLServer
BeitragVerfasst: So 11.05.03 19:04 
verry simple,

button.enable:= true or button.enable:= false.

oder hab ich die Frage falsch verstanden?
grez
msch
Ex0rzist Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: So 11.05.03 19:35 
Ich habe vielleicht vergessen zu erwähnen, dass ich nicht TButton benutze, sondern die WIN32-API (also nonVCL) verwende.
Das soll nachher so aussehen:
ausblenden Quelltext
1:
SendMessage(hWndButton1, ...					


Als zweiter Parameter wird dann die Nachricht erwartet. Es gibt aber leider kein BM_DISABLE. :nixweiss:

_________________
If accidentally read, induce vomitting.
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: So 11.05.03 20:32 
-> EnableWindow

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
Ex0rzist Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: So 11.05.03 22:06 
Aaah, danke das war es. :)

_________________
If accidentally read, induce vomitting.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 12.05.03 02:03 
Werbeeinblendung:
www.luckie-opnline.de
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Mo 12.05.03 08:36 
Luckie hat folgendes geschrieben:
Werbeeinblendung:
www.luckie-opnline.de

Wenn Du schon Werbung machst dann doch bitte richtig :-)

www.luckie-online.de

Gruß
Tino
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 12.05.03 08:43 
Öhm, danke. :oops: