New topic: Pages and PagePanels.
<http://forums.realsoftware.com/viewtopic.php?t=45267> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message Carharttguy Post subject: Pages and PagePanels.Posted: Thu Sep 06, 2012 7:59 am Joined: Wed Sep 17, 2008 2:45 pm Posts: 156 Hello, Simple question: How can I create a Page, and attach it to a PagePanel. In runtime. I can't find any info about this on the Wiki? Thanks in advance. _________________ My native language is not English. Top amitavak Post subject: Re: Pages and PagePanels.Posted: Thu Sep 06, 2012 10:16 am Joined: Mon Jan 02, 2012 1:51 am Posts: 274 Location: India Carharttguy wrote:I can't find any info about this on the Wiki? These links are from language reference. Appends a new page after the last page. Inserts a new page at the specified position. The first page is numbered zero. _________________ Amitava Real Studio 2011 Release 4 Windows 7 (32 bit) Top Carharttguy Post subject: Re: Pages and PagePanels.Posted: Thu Sep 06, 2012 1:10 pm Joined: Wed Sep 17, 2008 2:45 pm Posts: 156 Indeed, but then you add an empty Page. But I don't know a way to create a new Page object, and append some controls to it. And then add that Page object to the PagePanel object? But thanks for your help! _________________ My native language is not English. Top amitavak Post subject: Re: Pages and PagePanels.Posted: Thu Sep 06, 2012 3:35 pm Joined: Mon Jan 02, 2012 1:51 am Posts: 274 Location: India Carharttguy wrote:But I don't know a way to create a new Page object, and append some controls to it. And then add that Page object to the PagePanel object? you can just append/insert a page to the PagePanel then if you want to append some control on it, just set the PanelIndex property of the control. _________________ Amitava Real Studio 2011 Release 4 Windows 7 (32 bit) Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml rbforumnotifier@monkeybreadsoftware.de