Hallo,
ist es möglich eine variabel HostName in einem String einzugeben
zb.
Delphi-Quelltext
1:
| 'you must disconnect' + HostName + 'Do you want to disconnect now?' |
Nun sieht meine Prozedure bis jetzt so aus:
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
| procedure TMainForm.Warning1; begin if (Application.MessageBox( 'You must disconnect before opening another connection.' + #10 + #13 + 'Do you want to disconnect?', 'Access2All', MB_YESNO + MB_DEFBUTTON1 + MB_ICONEXCLAMATION) = ID_YES) then begin Disconnect1Click(self); Connect1click(self); end; end; |
könnt ihr mir vieleicht zeigen wie man sowas macht?
danke schonmal für eure antworten,
Peter Kiers
Moderiert von
Gausi: Code- durch Delphi-Tags ersetzt