﻿<?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?)  » PanelManager Page Index</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 05:15:17 GMT</lastBuildDate><ttl>20</ttl><item><title>PanelManager Page Index</title><link>http://forum.strataframe.net/FindPost3363.aspx</link><description>Is there a way to access the Index of a PanelManager page?&amp;nbsp; I notice they each have an index when you view them in the page collection.&amp;nbsp; Is there a way to access that in code?&amp;nbsp; All I can find is TabIndex which is not what I want.&amp;nbsp; I would like to be able to do something like the following....&lt;/P&gt;&lt;P&gt;lstPanels.DisplayMember = "PageDescription"&lt;BR&gt;lstPanels.ValueMember = "PageIndex"&amp;nbsp;&amp;nbsp; '&amp;lt;---This would be the index property of the page&lt;/P&gt;&lt;P&gt;For Each panel as PanelManagerPage in PanelManager.PageCollection&lt;BR&gt;&amp;nbsp;&amp;nbsp; lstPanels.Items.Add(panel)&lt;BR&gt;Next&lt;/P&gt;&lt;P&gt;Then on the SelectedIndexChanged event of lstPanels I would just have to do something like this....&lt;BR&gt;&lt;BR&gt;PanelManager.SetActivePage(lstPanels.SelectedValue)&lt;/P&gt;&lt;P&gt;So, I just need to know how I can access this 'PageIndex' property I'm wanting to use.</description><pubDate>Fri, 06 Oct 2006 13:49:37 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: PanelManager Page Index</title><link>http://forum.strataframe.net/FindPost3367.aspx</link><description>The index of the page is determined by the order they appear in the PageCollection on the PanelManager.&amp;nbsp; You can manage this through the form designer.&amp;nbsp; You can then reference a page by object reference or by index.&amp;nbsp; You can also set the active page by index or reference.&amp;nbsp; See below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Accessing Options&lt;BR&gt;&lt;/STRONG&gt;Me.PanelManager1.CurrentPageIndex&lt;BR&gt;Me.PanelManager1.CurrentPage&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Page Setting Options&lt;BR&gt;&lt;/STRONG&gt;Me.PanelManager1.SetActivePage(Index)&lt;BR&gt;Me.PanelManager1.SetActivePage(PanelPageReference)&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Fri, 06 Oct 2006 13:49:37 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>