SlideShare a Scribd company logo
Screen withTabs
How to create a Screen withTabs in PowerApps
Peter Heffner
@Lingualizer
Why this tutorial?
• Sometimes it's just too much information for 1 single screen
• You don't want the user to have to scroll or navigate to different screens
This is what we do:
• Create 1 single screen
• Add some tabs
• Display only the content related to the selected tab
Add a 'scrollable Screen'
Only the 'scrollable Screen' has the Canvas we need for our tabs.
Add 3 Sections
• Add 3 Sections in order to
create 3 DataCards
• Each DataCard will work as a
single screen
Set the Fill Colour for each DataCard
Set the fill colour of each DataCard to a
different value.
Each DataCard represents a separateTab
This makes it easier to see whichTab is
active.
Screen – OnVisible Action
This example has 3 tabs which are defined in a Collection 'collTabs':
ClearCollect(collTabs,{No:1,Name:"Tab 1"},{No:2,Name:"Tab 2"},{No:3,Name:"Tab 3"})
'No' can be used to set the order how the tabs are displayed
'Name' is the text that appears on the tab.
Let us also define a local variable '_SelTab' which is set to the currently selected tab:
UpdateContext({_selTab:1})
Add a blank horizontal Gallery
On 'Screen' level add a blank horizontal
Gallery
Place the Gallery in the top header
section
Define the Gallery
Set [Items] to the Collection created at
'OnVisible' of the screen.
Edit the Gallery
Add a Button control to the Gallery.
You may either want to change the colour of
the header rectangle or the fill color of the
button.
Define the Buttons 1/3
Make it a nice button:
Select the Button
Set RadiusBottomRight = 0
Set RadiusBottomLeft = 0
Set the top left and right
radius' to half the height of
the button
Add the text label:
With the button selected set
[Text]=ThisItem.Name
This will add the
corresponding name from the
Collection.
Define the Buttons 2/3
Add some Action:
With the button selected set
[OnSelect]=UpdateContext({_selTab:ThisItem.No})
The local variable [_selTab] is set to the number of the tab as defined in the collection
Define the Buttons 3/3
Set the DisplayMode:
In order to see which tab has been selected, we set the DisplayMode of the selected button
to 'Disable' and set it to 'Edit' if not selected:
If(ThisItem.No=_selTab,DisplayMode.Disabled,DisplayMode.Edit)
Display the Screens
Set the screensVisible property:
By default the [Visible] property of all DataCards is 'true'
Select a DataCard in the tree view which
should be displayed ifTab1 is selected:
Select the [Visible] property
Set the value to 'If(_selTab=1,true,false)'
The other DataCards go like
If(_selTab=2,true,false) and
If(_selTab=3,true,false)
TheVisible property of the DataCard is set
by the value of the local variable [_selTab].
Thanks for watching!
@Lingualizer

More Related Content

PDF
Event Driven Architecture (EDA) Reference Architecture | Anbu Krishnaswamy
PPTX
CPM Scheduling best practicies within the Construction Indistry
PDF
Project scope management
PPTX
DevOps seminar ppt
PDF
How-To-Guide for Software Security Vulnerability Remediation
PDF
Event Driven Architecture (EDA) Reference Architecture
PDF
Software Project Management: Project Charter
PDF
Enhanced Unifier Reporting with BI Publisher: On Prem and Cloud
Event Driven Architecture (EDA) Reference Architecture | Anbu Krishnaswamy
CPM Scheduling best practicies within the Construction Indistry
Project scope management
DevOps seminar ppt
How-To-Guide for Software Security Vulnerability Remediation
Event Driven Architecture (EDA) Reference Architecture
Software Project Management: Project Charter
Enhanced Unifier Reporting with BI Publisher: On Prem and Cloud

What's hot (20)

PDF
Modernize Service-Oriented Architecture with APIs
PDF
The Art of Monitoring (2016).pdf
PDF
DevOps
PPTX
Introduction to Microservices
PDF
Backstage l'Internal Developer Portal Open Source per una migliore Developer ...
PDF
Best Practices in Web Service Design
PPTX
Major Container Platform Comparison
PDF
Successfully establishing a SOA Center of Excellence
PPTX
Jenkins Pipeline Tutorial | Jenkins Build And Delivery Pipeline | Jenkins Tut...
PDF
Governance Deck PowerPoint Presentation Slides
PPTX
Pmp chapter(5) Scope Management
PDF
Project Management Kickoff Meeting Template Powerpoint Presentation Slides
PDF
Understanding DevOps
PDF
InfluxDB + Kepware: Start Monitoring Industrial Data Quickly
PPTX
DevOps principles and practices - accelerate flow
PDF
Opentracing jaeger
PPTX
FinOps introduction
PDF
Big Data Architecture
PDF
Building APIs with the OpenApi Spec
PPTX
IT Application Decommissioning - Application Retirement Services
Modernize Service-Oriented Architecture with APIs
The Art of Monitoring (2016).pdf
DevOps
Introduction to Microservices
Backstage l'Internal Developer Portal Open Source per una migliore Developer ...
Best Practices in Web Service Design
Major Container Platform Comparison
Successfully establishing a SOA Center of Excellence
Jenkins Pipeline Tutorial | Jenkins Build And Delivery Pipeline | Jenkins Tut...
Governance Deck PowerPoint Presentation Slides
Pmp chapter(5) Scope Management
Project Management Kickoff Meeting Template Powerpoint Presentation Slides
Understanding DevOps
InfluxDB + Kepware: Start Monitoring Industrial Data Quickly
DevOps principles and practices - accelerate flow
Opentracing jaeger
FinOps introduction
Big Data Architecture
Building APIs with the OpenApi Spec
IT Application Decommissioning - Application Retirement Services
Ad

Similar to PowerApps - Canvas Screen with Tabs (12)

PPTX
Windows form application_in_vb(vb.net --3 year)
PDF
Wpf Introduction
PPTX
Windows phone and azure
PPTX
Session 5#
PDF
Designing XAML apps using Blend for Visual Studio 2013
DOCX
ExplanationDesignerCodeGlobal.Microsoft.VisualBasic.Compiler.docx
PDF
05.Blend Expression, Transformation & Animation
PPTX
Building Your First Store App with XAML and C#
PDF
Ch7.2-Controls for Programm 001-193819qk
PPTX
CHAPTER 2- LESSON B
PPTX
Whats New for WPF in .NET 4.5
Windows form application_in_vb(vb.net --3 year)
Wpf Introduction
Windows phone and azure
Session 5#
Designing XAML apps using Blend for Visual Studio 2013
ExplanationDesignerCodeGlobal.Microsoft.VisualBasic.Compiler.docx
05.Blend Expression, Transformation & Animation
Building Your First Store App with XAML and C#
Ch7.2-Controls for Programm 001-193819qk
CHAPTER 2- LESSON B
Whats New for WPF in .NET 4.5
Ad

More from Peter Heffner (20)

PDF
Hey Siri, open my PowerApp
PPTX
Multilingual Power Apps
PDF
Power Apps and Office365 Groups
PDF
Power Apps and Microsoft Teams
PPTX
PowerApps - Using your own Colour Set
PPTX
PowerApps and Azure SQL Server / Blob storage
PPTX
Import excel rows to sharepoint list
PPTX
Multilingual power apps
PDF
Office Lens #68: Screenshots mit Office Lens
PDF
PowerApp #69 Create a PowerApp
PDF
SharePoint Lesson #67: Connect List Data and Visio
PDF
SharePoint Lesson #66: Live Data - List Items in PowerPoint
PDF
SharePoint Lesson #65: Content Organizer in SP2013
PDF
SharePoint Lesson #64. Sort-of-Gantt
PDF
SharePointLesson #63: vCard for Outlook
PDF
SharePoint Lesson #62: Progress Bar in SP2013
PDF
SharePoint Lesson #61: Embed non-MS Content in SP2013
PDF
SharePoint Tutorial Lesson 60#: Embed Microsoft Content
PDF
SharePoint Lektion #52. Kurzanleitung - Webseiten und Inhalte
PDF
SharePoint Lesson #59: Filtered Lookup
Hey Siri, open my PowerApp
Multilingual Power Apps
Power Apps and Office365 Groups
Power Apps and Microsoft Teams
PowerApps - Using your own Colour Set
PowerApps and Azure SQL Server / Blob storage
Import excel rows to sharepoint list
Multilingual power apps
Office Lens #68: Screenshots mit Office Lens
PowerApp #69 Create a PowerApp
SharePoint Lesson #67: Connect List Data and Visio
SharePoint Lesson #66: Live Data - List Items in PowerPoint
SharePoint Lesson #65: Content Organizer in SP2013
SharePoint Lesson #64. Sort-of-Gantt
SharePointLesson #63: vCard for Outlook
SharePoint Lesson #62: Progress Bar in SP2013
SharePoint Lesson #61: Embed non-MS Content in SP2013
SharePoint Tutorial Lesson 60#: Embed Microsoft Content
SharePoint Lektion #52. Kurzanleitung - Webseiten und Inhalte
SharePoint Lesson #59: Filtered Lookup

Recently uploaded (20)

PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPT
Introduction Database Management System for Course Database
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
System and Network Administration Chapter 2
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
assetexplorer- product-overview - presentation
PPTX
Operating system designcfffgfgggggggvggggggggg
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Reimagine Home Health with the Power of Agentic AI​
2025 Textile ERP Trends: SAP, Odoo & Oracle
Introduction Database Management System for Course Database
Which alternative to Crystal Reports is best for small or large businesses.pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Softaken Excel to vCard Converter Software.pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Computer Software and OS of computer science of grade 11.pptx
Design an Analysis of Algorithms I-SECS-1021-03
Digital Systems & Binary Numbers (comprehensive )
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
How to Migrate SBCGlobal Email to Yahoo Easily
System and Network Administration Chapter 2
VVF-Customer-Presentation2025-Ver1.9.pptx
assetexplorer- product-overview - presentation
Operating system designcfffgfgggggggvggggggggg

PowerApps - Canvas Screen with Tabs

  • 1. Screen withTabs How to create a Screen withTabs in PowerApps Peter Heffner @Lingualizer
  • 2. Why this tutorial? • Sometimes it's just too much information for 1 single screen • You don't want the user to have to scroll or navigate to different screens This is what we do: • Create 1 single screen • Add some tabs • Display only the content related to the selected tab
  • 3. Add a 'scrollable Screen' Only the 'scrollable Screen' has the Canvas we need for our tabs.
  • 4. Add 3 Sections • Add 3 Sections in order to create 3 DataCards • Each DataCard will work as a single screen
  • 5. Set the Fill Colour for each DataCard Set the fill colour of each DataCard to a different value. Each DataCard represents a separateTab This makes it easier to see whichTab is active.
  • 6. Screen – OnVisible Action This example has 3 tabs which are defined in a Collection 'collTabs': ClearCollect(collTabs,{No:1,Name:"Tab 1"},{No:2,Name:"Tab 2"},{No:3,Name:"Tab 3"}) 'No' can be used to set the order how the tabs are displayed 'Name' is the text that appears on the tab. Let us also define a local variable '_SelTab' which is set to the currently selected tab: UpdateContext({_selTab:1})
  • 7. Add a blank horizontal Gallery On 'Screen' level add a blank horizontal Gallery Place the Gallery in the top header section
  • 8. Define the Gallery Set [Items] to the Collection created at 'OnVisible' of the screen. Edit the Gallery Add a Button control to the Gallery. You may either want to change the colour of the header rectangle or the fill color of the button.
  • 9. Define the Buttons 1/3 Make it a nice button: Select the Button Set RadiusBottomRight = 0 Set RadiusBottomLeft = 0 Set the top left and right radius' to half the height of the button Add the text label: With the button selected set [Text]=ThisItem.Name This will add the corresponding name from the Collection.
  • 10. Define the Buttons 2/3 Add some Action: With the button selected set [OnSelect]=UpdateContext({_selTab:ThisItem.No}) The local variable [_selTab] is set to the number of the tab as defined in the collection
  • 11. Define the Buttons 3/3 Set the DisplayMode: In order to see which tab has been selected, we set the DisplayMode of the selected button to 'Disable' and set it to 'Edit' if not selected: If(ThisItem.No=_selTab,DisplayMode.Disabled,DisplayMode.Edit)
  • 12. Display the Screens Set the screensVisible property: By default the [Visible] property of all DataCards is 'true' Select a DataCard in the tree view which should be displayed ifTab1 is selected: Select the [Visible] property Set the value to 'If(_selTab=1,true,false)' The other DataCards go like If(_selTab=2,true,false) and If(_selTab=3,true,false) TheVisible property of the DataCard is set by the value of the local variable [_selTab].