Changeset 474 for trunk/LocalPlayer/Nego.pas
- Timestamp:
- Dec 4, 2023, 7:18:18 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Nego.pas
r471 r474 741 741 begin // choose amount 742 742 InputDlg.Caption := Phrases.Lookup('TITLE_AMOUNT'); 743 InputDlg.E Input.Text := '';743 InputDlg.EditInput.Text := ''; 744 744 InputDlg.CenterToRect(BoundsRect); 745 745 InputDlg.ShowModal; 746 746 if InputDlg.ModalResult <> mrOK then 747 747 Exit; 748 val(InputDlg.E Input.Text, A, I);748 val(InputDlg.EditInput.Text, A, I); 749 749 if (I <> 0) or (A <= 0) or (A >= MaxMoneyPrice) then 750 750 Exit; … … 771 771 Max := MyRO.Ship[DipMem[Me].pContact].Parts[MainScreen.ModalSelectDlg.Result]; 772 772 InputDlg.Caption := Phrases.Lookup('TITLE_NUMBER'); 773 InputDlg.E Input.Text := '';773 InputDlg.EditInput.Text := ''; 774 774 InputDlg.CenterToRect(BoundsRect); 775 775 InputDlg.ShowModal; 776 776 if InputDlg.ModalResult <> mrOK then 777 777 Exit; 778 val(InputDlg.E Input.Text, A, I);778 val(InputDlg.EditInput.Text, A, I); 779 779 if (I <> 0) or (A <= 0) then 780 780 Exit; … … 853 853 begin // choose amount 854 854 InputDlg.Caption := Phrases.Lookup('TITLE_AMOUNT'); 855 InputDlg.E Input.Text := '';855 InputDlg.EditInput.Text := ''; 856 856 InputDlg.CenterToRect(BoundsRect); 857 857 InputDlg.ShowModal; 858 858 if InputDlg.ModalResult <> mrOK then 859 859 Exit; 860 val(InputDlg.E Input.Text, A, I);860 val(InputDlg.EditInput.Text, A, I); 861 861 if (I <> 0) or (A <= 0) or (A >= MaxMoneyPrice) then 862 862 Exit; … … 873 873 Max := MyRO.Ship[Me].Parts[MainScreen.ModalSelectDlg.Result]; 874 874 InputDlg.Caption := Phrases.Lookup('TITLE_NUMBER'); 875 InputDlg.E Input.Text := '';875 InputDlg.EditInput.Text := ''; 876 876 InputDlg.CenterToRect(BoundsRect); 877 877 InputDlg.ShowModal; 878 878 if InputDlg.ModalResult <> mrOK then 879 879 Exit; 880 val(InputDlg.E Input.Text, A, I);880 val(InputDlg.EditInput.Text, A, I); 881 881 if (I <> 0) or (A <= 0) then 882 882 Exit;
Note:
See TracChangeset
for help on using the changeset viewer.