{"id":378,"date":"2024-08-20T12:48:27","date_gmt":"2024-08-20T12:48:27","guid":{"rendered":"https:\/\/xojo.itbib4you.be\/?page_id=378"},"modified":"2025-06-22T14:27:15","modified_gmt":"2025-06-22T14:27:15","slug":"a-list-of-transactions","status":"publish","type":"page","link":"https:\/\/xojo.itbib4you.be\/index.php\/a-list-of-transactions\/","title":{"rendered":"A List of Transactions"},"content":{"rendered":"\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-25\"><a class=\"wp-block-button__link has-light-green-cyan-to-vivid-green-cyan-gradient-background has-background has-small-font-size has-custom-font-size wp-element-button\" href=\"https:\/\/xojo.itbib4you.be\/\">Overview<\/a><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>In this lesson we will use <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">DesktopListBox<\/mark> to record and display all transactions made to our accounts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">DesktopListBox<\/h2>\n\n\n\n<p>A <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">DesktopListBox <\/mark> is used to store and display data in rows and columns. The row and column numbers start from <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">zero<\/mark>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"253\" src=\"https:\/\/xojo.itbib4you.be\/wp-content\/uploads\/2024\/08\/DesktopListBox-1024x253.png\" alt=\"DesktopListBox\" class=\"wp-image-381\" style=\"width:500px;height:auto\" srcset=\"https:\/\/xojo.itbib4you.be\/wp-content\/uploads\/2024\/08\/DesktopListBox-1024x253.png 1024w, https:\/\/xojo.itbib4you.be\/wp-content\/uploads\/2024\/08\/DesktopListBox-300x74.png 300w, https:\/\/xojo.itbib4you.be\/wp-content\/uploads\/2024\/08\/DesktopListBox-768x190.png 768w, https:\/\/xojo.itbib4you.be\/wp-content\/uploads\/2024\/08\/DesktopListBox.png 1124w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption class=\"wp-element-caption\">DesktopListBox<\/figcaption><\/figure>\n<\/div>\n\n\n<p>The following <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">properties<\/mark> are very useful:<\/p>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table class=\"has-fixed-layout\"><thead><tr><th>Property<\/th><th>Type<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>ColumnCount<\/td><td>Integer<\/td><td>The number of columns in the ListBox<\/td><\/tr><tr><td>HasHeader<\/td><td>Boolean<\/td><td>If <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">True<\/mark>, a header is added to the ListBox<\/td><\/tr><tr><td>HasHorizontalScrollbar<\/td><td>Boolean<\/td><td>If <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">True<\/mark>, adds a horizontal scrollbar if the sum of the width of all columns exceeds the width of the ListBox<\/td><\/tr><tr><td>HasVerticalScrollbar<\/td><td>Boolean<\/td><td>If <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">True<\/mark>, adds a vertical scrollbar to the ListBox<\/td><\/tr><tr><td>LastAddedRowIndex<\/td><td>Integer<\/td><td>The number of the last row added<\/td><\/tr><tr><td>RowCount<\/td><td>Integer<\/td><td>The number of rows in the ListBox<\/td><\/tr><tr><td>SelectedRowIndex<\/td><td>Integer<\/td><td>The number of the selected row <\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">DesktopListBox Properties<\/figcaption><\/figure>\n\n\n\n<p>The following <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">methods<\/mark> are used frequently:<\/p>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table class=\"has-fixed-layout\"><thead><tr><th>Method<\/th><th>Type<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>AddRow<\/td><td>String()<\/td><td>Adds a new row to the end of the ListBox and fills the columns with the values in the String array<\/td><\/tr><tr><td>ColumnAlignmentAt<\/td><td>Integer<\/td><td>Gets or sets the alignment of the specified column<\/td><\/tr><tr><td>HeaderAt<\/td><td>Integer<\/td><td>Gets or sets the header of a specified column<\/td><\/tr><tr><td>RemoveAllRows<\/td><td><\/td><td>Removes all rows in the ListBox<\/td><\/tr><tr><td>RemoveRowAt<\/td><td>Integer<\/td><td>Removes the specified row<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">DesktopListBox Methods<\/figcaption><\/figure>\n\n\n\n<p>The following <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">events<\/mark> will handle some user actions:<\/p>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table class=\"has-fixed-layout\"><thead><tr><th>Event<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>DoublePressed<\/td><td>The user has double-pressed on a row<\/td><\/tr><tr><td>SelectionChanged<\/td><td>The selected row has been changed by the user or by code<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">DesktopListBox Events<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Modifications to the application<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Window lay-out<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"708\" src=\"https:\/\/xojo.itbib4you.be\/wp-content\/uploads\/2024\/08\/All-Transactions-1024x708.png\" alt=\"All Transactions\" class=\"wp-image-395\" style=\"width:456px;height:auto\" srcset=\"https:\/\/xojo.itbib4you.be\/wp-content\/uploads\/2024\/08\/All-Transactions-1024x708.png 1024w, https:\/\/xojo.itbib4you.be\/wp-content\/uploads\/2024\/08\/All-Transactions-300x208.png 300w, https:\/\/xojo.itbib4you.be\/wp-content\/uploads\/2024\/08\/All-Transactions-768x531.png 768w, https:\/\/xojo.itbib4you.be\/wp-content\/uploads\/2024\/08\/All-Transactions.png 1194w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n<\/div>\n\n\n<p>In our updated application we will store all transactions from all our accounts in a <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">DesktopListBox<\/mark>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Add a DesktopListBox<\/h3>\n\n\n\n<p>The <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">DesktopListBox <\/mark>control is available in the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">library<\/mark> under the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Viewers<\/mark> section. Drag this control on the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">AccountWindow<\/mark>. Change the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Name<\/mark> property of this control to <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">TransactionList<\/mark>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-yellow-background-color has-background\">It is good practice to end the name of a <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">DesktopListBox<\/mark> with the suffix '<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">List<\/mark>'.<\/pre>\n\n\n\n<p>In the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Inspector<\/mark> we can already initialise some properties of <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">TransactionList<\/mark>(e.g. <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Column Count<\/mark>, <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Has Header<\/mark>, <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Has Horizontal Scrollbar<\/mark>&#8230;). These settings can also be defined by code in the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Opening<\/mark> event of <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">TransactionList<\/mark>. This is our code in the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Opening<\/mark> event of <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">TransactionList<\/mark>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-gray-background-color has-background has-small-font-size\">Me.ColumnCount = 3<br><br>Me.HasHeader = True<br>Me.HeaderAt(0) = \"Account\"<br>Me.HeaderAt(1) = \"Deposit\"<br>Me.HeaderAt(2) = \"Withdraw\"<br><br>Me.ColumnAlignmentAt(0) = DesktopListBox.Alignments.Left<br>Me.ColumnAlignmentAt(1) = DesktopListBox.Alignments.Right<br>Me.ColumnAlignmentAt(2) = DesktopListBox.Alignments.Right<\/pre>\n\n\n\n<p>Instead of using the prefix <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Me<\/mark>, you can also refer to the name of the control <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">TransactionList<\/mark> (e.g. TransactionList.ColumnCount = 3).  However, if you change the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Name<\/mark> of the control, it must be changed in all statements.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-yellow-background-color has-background\">The <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Me<\/mark> prefix always refers to the control that contains the current event handler. When you change the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Name<\/mark> property of the control the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Me<\/mark> prefix still refers to the correct control.<\/pre>\n\n\n\n<p>The <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">ColumnAlignmentAt<\/mark> method is assigned a value from the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Enumeration set<\/mark> named <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Alignments<\/mark> available within the class <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">DesktopListBox<\/mark>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-yellow-background-color has-background\">An <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Enumeration set<\/mark> is a group of named elements.In our example the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Name<\/mark> of this group is <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Alignments<\/mark> and the elements in the group are <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Left<\/mark>, <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Center<\/mark>,<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Right<\/mark> and <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Decimal<\/mark>(aligned to the decimal point). To refer to an element in the set you use the following construct:<br><br><em>ClassName.EnumerationName.EnumerationValue<\/em><br><br>Example:<br><br><em>DesktopListBox.Alignments.Center<\/em><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">DepositButton: Pressed<\/h3>\n\n\n\n<p id=\"tw-target-text\">The <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Pressed<\/mark> even of <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">DepositButton<\/mark> should increase the selected account, but should also add a new row to <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">TransactionList<\/mark>. A new row is added with the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">AddRow<\/mark> method.<\/p>\n\n\n\n<p>The following code can be used:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-gray-background-color has-background has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Var<\/mark> accountName As <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">String<\/mark> <br>accountName = AccountPopup.SelectedRowText<br><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Select Case<\/mark> accountName<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Case<\/mark> \"CheckingAccount\"<br>  CheckingAccount.DepositMoney(1500.00)<br>  TransactionList.AddRow(\"CheckingAccount\", Str(1500.00,\"+#####.00\"))<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Case<\/mark> \"SavingsAccount\"<br>  SavingsAccount.DepositMoney(600.00)<br>  TransactionList.AddRow(\"SavingsAccount\", Str(600.00,\"+#####.00\"))<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Case<\/mark> \"RetirementAccount\"<br>  RetirementAccount.DepositMoney(200.00)<br>  TransactionList.AddRow(\"RetirementAccount\", Str(200.00,\"+#####.00\"))<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">End<\/mark> <br><\/pre>\n\n\n\n<p>The <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">AddRow<\/mark> method fills two columns in the appended row of <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">TransactionList<\/mark>: the first column with the name of the account, the second column with the value of the deposit. Both values are separated by a comma. <\/p>\n\n\n\n<p>The <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Str<\/mark> method used in the second column returns a formatted <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">String<\/mark> of the value passed. The format specification is a <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">String<\/mark> made up with the following characters:<\/p>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table class=\"has-fixed-layout\"><thead><tr><th>Character<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>+<\/td><td>Displays a plus sign to the left if the number is positive or a minus sign if the number is negative<\/td><\/tr><tr><td>&#8211;<\/td><td>Displays a minus sign to the left if the number is negative or a plus sign if the number is positive<\/td><\/tr><tr><td>#<\/td><td>Displays a digit on this place if a digit is present<\/td><\/tr><tr><td>0<\/td><td>Displays a digit on this place if a digit is present or a zero if no digit is present<\/td><\/tr><tr><td>.<\/td><td>Position of the decimal point<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Format Specification Characters<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">WithdrawButton: Pressed<\/h2>\n\n\n\n<p>The <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Pressed<\/mark> event of <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">WithdrawButton<\/mark> is very similar to the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Pressed<\/mark> event of <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">DepositButton<\/mark>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-gray-background-color has-background has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Var<\/mark> accountName <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">As String<\/mark> <br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Var<\/mark> amount <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">As Currency<\/mark><br>accountName = AccountPopup.SelectedRowText<br><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Select Case<\/mark> accountName<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Case<\/mark> \"CheckingAccount\"<br>  amount = CheckingAccount.WithdrawMoney(275.00)<br>  TransactionList.AddRow(\"CheckingAccount\",\"\", _<br>     Str(-amount,\"+#####.00\"))<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Case<\/mark> \"SavingsAccount\"<br>  amount = SavingsAccount.WithdrawMoney(150.00)<br>  TransactionList.AddRow(\"SavingsAccount\",\"\", _<br>     Str(-amount,\"+#####.00\"))<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Case<\/mark> \"RetirementAccount\"<br>  amount = RetirementAccount.WithdrawMoney(100.00)<br>  TransactionList.AddRow(\"RetirementAccount\",\"\", _<br>     Str(-amount,\"+#####.00\"))<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">End<\/mark> <\/pre>\n\n\n\n<p>The third column in the list is used to display the amount withdrawn from an account. The second column (deposits) must stay empty. An empty String (&#8220;&#8221;) is used for the second column.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-yellow-background-color has-background\">The <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">underscore<\/mark> character (<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">_<\/mark>) is used to indicate that the code is continued on the next line.<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">ShowButton: Pressed<\/h3>\n\n\n\n<p>The <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">Pressed<\/mark> event of <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-red-color\">ShowButton<\/mark> can be developed as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-light-gray-background-color has-background has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Var<\/mark> accountName <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">As String<\/mark> <br>accountName = AccountPopup.SelectedRowText<br><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Select Case<\/mark> accountName<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Case<\/mark> \"CheckingAccount\"<br>  BalanceLabel.Text = \"The balance of the checking account = \" + _ <br>  CheckingAccount.GetBalance.ToString(locale.current)<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Case<\/mark> \"SavingsAccount\"<br>  BalanceLabel.Text = \"The balance of the savings account = \" + _ <br>  SavingsAccount.GetBalance.ToString(locale.current)<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">Case<\/mark> \"RetirementAccount\"<br>  BalanceLabel.Text = \"The balance of the retirement account = \" + _ <br>  RetirementAccount.GetBalance.ToString(locale.current)<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-bright-blue-color\">End<\/mark><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this lesson we will use DesktopListBox to record and display all transactions made to our accounts. DesktopListBox A DesktopListBox is used to store and display data in rows and columns. The row and column numbers start from zero. The following properties are very useful: Property Type Description ColumnCount Integer The number of columns &hellip; <a href=\"https:\/\/xojo.itbib4you.be\/index.php\/a-list-of-transactions\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A List of Transactions&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-378","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/xojo.itbib4you.be\/index.php\/wp-json\/wp\/v2\/pages\/378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xojo.itbib4you.be\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/xojo.itbib4you.be\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/xojo.itbib4you.be\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xojo.itbib4you.be\/index.php\/wp-json\/wp\/v2\/comments?post=378"}],"version-history":[{"count":33,"href":"https:\/\/xojo.itbib4you.be\/index.php\/wp-json\/wp\/v2\/pages\/378\/revisions"}],"predecessor-version":[{"id":592,"href":"https:\/\/xojo.itbib4you.be\/index.php\/wp-json\/wp\/v2\/pages\/378\/revisions\/592"}],"wp:attachment":[{"href":"https:\/\/xojo.itbib4you.be\/index.php\/wp-json\/wp\/v2\/media?parent=378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}