Autor Beitrag
Gerhard
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39



BeitragVerfasst: So 26.10.03 17:02 
Hi

Wie kann man bei einem MessageDlg die Auswahl voreinstellen zB. auf NO?

Danke Gerhard
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 27.10.03 09:54 
Hallo!

Du kannst z. b. mit der Konstante MB_DEFBUTTON1 den ersten Button als Default Button bestimmen. Das geht von MB_DEFBUTTON1 bin MB_DEFBUTTON4.

Gruß
Tino
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Mo 27.10.03 10:17 
Hi,

dazu muss man aber sagen, dass das nur bei der Api-Funktion MessageBox geht und nicht bei MessageDlg.

MFG

- Ernesto -
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 27.10.03 10:22 
Stimmt... hab ich vergessen zu schreiben!

Gruß
Tino