|
@@ -23,10 +23,8 @@ type
|
|
GroupBox1: TGroupBox;
|
|
GroupBox1: TGroupBox;
|
|
Label1: TLabel;
|
|
Label1: TLabel;
|
|
Label2: TLabel;
|
|
Label2: TLabel;
|
|
- lblPayload: TLabel;
|
|
|
|
lblSgnAcc: TLabel;
|
|
lblSgnAcc: TLabel;
|
|
lblSellerAcc: TLabel;
|
|
lblSellerAcc: TLabel;
|
|
- mmoPayload: TMemo;
|
|
|
|
paGrid: TPanel;
|
|
paGrid: TPanel;
|
|
private
|
|
private
|
|
FEnlistAccountsGrid : TVisualGrid;
|
|
FEnlistAccountsGrid : TVisualGrid;
|
|
@@ -40,7 +38,8 @@ implementation
|
|
|
|
|
|
{$R *.lfm}
|
|
{$R *.lfm}
|
|
|
|
|
|
-uses UAccounts, UWallet, UUserInterface, UDataSources, UCommon, UCommon.UI, Generics.Collections;
|
|
|
|
|
|
+uses UAccounts, UWallet, UUserInterface, UDataSources, UCommon, UCommon.UI,
|
|
|
|
+ Generics.Collections, UCoreUtils;
|
|
|
|
|
|
type
|
|
type
|
|
|
|
|
|
@@ -80,7 +79,7 @@ begin
|
|
DataFontStyles := [fsBold];
|
|
DataFontStyles := [fsBold];
|
|
end;
|
|
end;
|
|
|
|
|
|
- with FEnlistAccountsGrid.AddColumn('Sale Price') do begin
|
|
|
|
|
|
+ with FEnlistAccountsGrid.AddColumn('Sale Price') do begin
|
|
Binding := 'SalePriceDecimal';
|
|
Binding := 'SalePriceDecimal';
|
|
SortBinding := 'SalePrice';
|
|
SortBinding := 'SalePrice';
|
|
DisplayBinding := 'SalePrice';
|
|
DisplayBinding := 'SalePrice';
|
|
@@ -102,13 +101,12 @@ begin
|
|
DataAlignment := taRightJustify;
|
|
DataAlignment := taRightJustify;
|
|
end;
|
|
end;
|
|
|
|
|
|
- data := TAccountSenderDataSource.Create(FEnlistAccountsGrid);
|
|
|
|
- data.Model := Model;
|
|
|
|
- FEnlistAccountsGrid.DataSource := data;
|
|
|
|
- paGrid.AddControlDockCenter(FEnlistAccountsGrid);
|
|
|
|
- lblSgnAcc.Caption := TAccountComp.AccountNumberToAccountTxtNumber(Model.Signer.SignerAccount.account);
|
|
|
|
- lblSellerAcc.Caption := TAccountComp.AccountNumberToAccountTxtNumber(Model.EnlistAccountForSale.SellerAccount.account);
|
|
|
|
- mmoPayload.Lines.Text := Model.Payload.Content;
|
|
|
|
|
|
+ data := TAccountSenderDataSource.Create(FEnlistAccountsGrid);
|
|
|
|
+ data.Model := Model;
|
|
|
|
+ FEnlistAccountsGrid.DataSource := data;
|
|
|
|
+ paGrid.AddControlDockCenter(FEnlistAccountsGrid);
|
|
|
|
+ lblSgnAcc.Caption := Model.Signer.SignerAccount.DisplayText;
|
|
|
|
+ lblSellerAcc.Caption := Model.EnlistAccountForSale.SellerAccount.DisplayText;
|
|
end;
|
|
end;
|
|
|
|
|
|
procedure TWIZEnlistAccountForSale_Confirmation.OnNext;
|
|
procedure TWIZEnlistAccountForSale_Confirmation.OnNext;
|