﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » How to show details on a Page Tab when activated</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 18 Sep 2026 15:42:29 GMT</lastBuildDate><ttl>20</ttl><item><title>How to show details on a Page Tab when activated</title><link>http://forum.strataframe.net/FindPost30049.aspx</link><description>I have a form with a TabControl and a few pages . On the Main Page of the TabControl ,I show details from the Parent (Say Customer) and on one of the Pages, I&amp;nbsp;have a Grid whic shows Transactions from&amp;nbsp;a Child Table (Say Invoices). &lt;br/&gt;&lt;br/&gt;Where is the&amp;nbsp;best place to put code (on the&amp;nbsp;Activate of the Page ) so that :&lt;br/&gt;&lt;br/&gt;If I have that Transaction Page Visible, the Transactions are refreshed when I navigate to a new&amp;nbsp; Customer on the Main Page of the tabControl&lt;br/&gt;&lt;br/&gt;If I have the Main Page Visible and I navigate to a new customer, I dont want to waste time querying the Transactions (because I may not actually want to see the transactions) , but if I 'click' on the Transactions Page, i want to query the Child Table, and just refesh the grid at that point&lt;br/&gt;&lt;br/&gt;(The main reason i dont want to 'Refresh' the children each time I change customer, is because there could be hundreds of transactions, and more oftren than not I will just be traversing the Customers , and looking at the data from the Customer table, and will not be interested in the transactions at all)</description><pubDate>Wed, 15 Jun 2011 11:26:31 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: How to show details on a Page Tab when activated</title><link>http://forum.strataframe.net/FindPost30062.aspx</link><description>You're welcome.&lt;br/&gt;&lt;br/&gt;Just come back here during the process if you need.</description><pubDate>Wed, 15 Jun 2011 11:26:31 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: How to show details on a Page Tab when activated</title><link>http://forum.strataframe.net/FindPost30057.aspx</link><description>Hi Ivan.&lt;br/&gt;&lt;br/&gt;That gives me the info I need and I will give it a try. Many tahnks for your help.</description><pubDate>Wed, 15 Jun 2011 02:48:06 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: How to show details on a Page Tab when activated</title><link>http://forum.strataframe.net/FindPost30054.aspx</link><description>Hi Gerard.&lt;br/&gt;&lt;br/&gt;Have you tried putting code in the Form's or BO's&amp;nbsp;Navigated method? There you can use the TabControl SelectedIndex and test if you should requery your list.&lt;br/&gt;&lt;br/&gt;As for doing it if the user enters the specific TabPage, I guess the TabPage&amp;nbsp;Enter method should do the job too.</description><pubDate>Tue, 14 Jun 2011 18:55:43 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>