TLama

Untitled

Jul 22nd, 2013
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.34 KB | None | 0 0
  1. procedure TForm1.Button1Click(Sender: TObject);
  2. begin
  3.   MessageBox(Handle, PChar(
  4.     Format(
  5.       'Breddegrad: ' + #9 + '%g' + sLineBreak +
  6.       'Længdegrad: ' + #9 + '%g' + sLineBreak +
  7.       'QRA locator: ' + #9 + '%s',
  8.       [50.07796406022508, 14.43826675415039, 'JO70EC'])
  9.     ),
  10.     PChar(Application.Title),
  11.     MB_OK
  12.   );
  13. end;
Advertisement
Add Comment
Please, Sign In to add comment