<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=DPageSelect</id>
	<title>DPageSelect - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=DPageSelect"/>
	<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=DPageSelect&amp;action=history"/>
	<updated>2026-11-21T20:37:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://wiki.dabo.leafe.com/index.php?title=DPageSelect&amp;diff=4101&amp;oldid=prev</id>
		<title>Ed: Created page with &quot;&#039;&#039;&#039;dPageSelect&#039;&#039;&#039; is one variation on the paged control; instead of using tabs to select pages, the user is given a dropdown list; selecting an item in the list selects the as...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=DPageSelect&amp;diff=4101&amp;oldid=prev"/>
		<updated>2020-05-12T20:07:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;dPageSelect&amp;#039;&amp;#039;&amp;#039; is one variation on the paged control; instead of using tabs to select pages, the user is given a dropdown list; selecting an item in the list selects the as...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;dPageSelect&amp;#039;&amp;#039;&amp;#039; is one variation on the paged control; instead of using tabs to select pages, the user is given a dropdown list; selecting an item in the list selects the associated page. This is a good choice when there are more pages than can comfortably fit using tabs&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Some of the more useful properties for dPageList:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;PageClass&amp;#039;&amp;#039;&amp;#039; - (dPage): The default class to use for pages added to the control.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;PageCount&amp;#039;&amp;#039;&amp;#039; - (int): This isn&amp;#039;t just a read-only counting of pages; changing this property will add or delete pages to bring the total number of pages in line.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Pages&amp;#039;&amp;#039;&amp;#039; - (list): a read-only list of the pages in this control.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;PageSizerClass&amp;#039;&amp;#039;&amp;#039; - ([[dSizer]] or [[dGridSizer]]): When a new page is created, this is the class of the sizer that is automatically added to it.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;SelectedPage&amp;#039;&amp;#039;&amp;#039; - (dPage): A reference to the currently visible page.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;SelectedPageNumber&amp;#039;&amp;#039;&amp;#039; - (int): The index of the &amp;lt;code&amp;gt;SelectedPage&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;TabPosition&amp;#039;&amp;#039;&amp;#039; - (str): Determines which side of the control the tabs appear on. Can be one of: &amp;lt;code&amp;gt;Top&amp;lt;/code&amp;gt; (default), &amp;lt;code&amp;gt;Bottom&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Left&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;Right&amp;lt;/code&amp;gt;. Must be passed at construction time; setting it after the control has already been created has no effect.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Some of the more useful methods for dPageList:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;appendPage(page)&amp;#039;&amp;#039;&amp;#039; - (dPage): Adds a new page to the control. page can be either a page instance or a page class to be instantiated. The page is placed in the last position in the control, and a reference to it is returned.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;insertPage(pos, page)&amp;#039;&amp;#039;&amp;#039; - (dPage): Adds a new page to the control. &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; can be either a page instance or a page class to be instantiated. The page is placed in the position specified by &amp;lt;code&amp;gt;pos&amp;lt;/code&amp;gt;, and a reference to it is returned.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;removePage(pgOrPos, delete=True)&amp;#039;&amp;#039;&amp;#039; - (None or dPage): Removes the specified page from the control. You can pass a reference to the page, or its index in the control. If &amp;lt;code&amp;gt;delete&amp;lt;/code&amp;gt; is &amp;lt;code&amp;gt;False&amp;lt;/code&amp;gt;, the page is not destroyed, and a reference to it is returned. Otherwise, the page is destroyed and &amp;lt;code&amp;gt;None&amp;lt;/code&amp;gt; is returned.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;movePage(oldPgOrPos, newPos, selecting=True)&amp;#039;&amp;#039;&amp;#039; - (None or True): Changes the position of the specified page. If the old and new positions are the same, nothing happens and &amp;lt;code&amp;gt;None&amp;lt;/code&amp;gt; is returned; otherwise, the page is moved and &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt; is returned. Unless you pass &amp;lt;code&amp;gt;selecting=False&amp;lt;/code&amp;gt;, the specified page is selected.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;cyclePages(num)&amp;#039;&amp;#039;&amp;#039; - (None): Moves through the pages by the specified amount, wrapping around the ends. Negative values move to previous pages; positive move through the next pages.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
See the [https://web.archive.org/web/20110909131047/http://paul.dabodev.com/doc/api/dabodoc/ Dabo Class Documentation] for an exhaustive documentation of this control&amp;#039;s Properties, Events and Methods. (Note that this documentation is no longer live, but it&amp;#039;s still available via the Internet Archive).&lt;/div&gt;</summary>
		<author><name>Ed</name></author>
	</entry>
</feed>