Changeset 13 for trunk/Forms
- Timestamp:
- Mar 16, 2013, 12:05:33 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r12 r13 81 81 Core.CurrentAccount := TAccount(Core.Accounts[ComboBoxAccounts.ItemIndex]) 82 82 else Core.CurrentAccount := nil; 83 LoadInterface; 83 84 end; 84 85 … … 121 122 ButtonMonthly.Enabled := Assigned(Core.CurrentAccount); 122 123 ButtonNew.Enabled := Assigned(Core.CurrentAccount); 124 if ComboBoxAccounts.ItemIndex <> -1 then begin 125 LabelBalance.Caption := FloatToStr(TAccount(ComboBoxAccounts.Items.Objects[ 126 ComboBoxAccounts.ItemIndex]).Balance) + ' KÄ'; 127 end else begin 128 LabelBalance.Caption := '? KÄ'; 129 end; 123 130 end; 124 131
Note:
See TracChangeset
for help on using the changeset viewer.