web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Combobox highlight wha...
Power Apps
Answered

Combobox highlight what page I am on

(0) ShareShare
ReportReport
Posted on by 725

Hi Everyone

I have a Combobox to navigate screens, is there anyway for me to highlight in the Combobox which screen I am on? Combobox is getting it's details from a hard coded table.

 

Thank you

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    Can you show a screen shot of the combobox with the selections.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

    Please Subscribe to my Youtube Channel

  • R Bakker Profile Picture
    725 on at

    27.04.2022a.png

  • EddieE Profile Picture
    4,641 Moderator on at

    @Corissandageri 

    You could add your colours to your Table data and reference that in the Fill property, eg

     

    // Table
    Table(
     {Screen: Scr1, FillColor: Green},
     {Screen: Scr2, FillColor: Purple},
     {Screen: Scr3, FillColor: Red},
     {Screen: Scr4, FillColor: Blue}
    )

    Then the ComboBox Fill property

    LookUp( Table, Screen = Combobox1.Selected.Screen, FillColor)

     

    To get the above to work I did use ClearCollect to collect the Table data into a collection but that may differ for your situation

  • R Bakker Profile Picture
    725 on at

    Hi EddieE

    I found it highlighted the whole combobox fill

  • EddieE Profile Picture
    4,641 Moderator on at

    @Corissandageri 

    I thought that's what you were looking for? My mistake ...

     

  • Verified answer
    R Bakker Profile Picture
    725 on at

    O.k

    I think I got it. I have changed from a hard coded table to a OnStart collect to populate my Combobox. below is a sample of that collection.

    ClearCollect(colSiteNav,{PTitle:"Incident Report",Scrn:ScrnRL})

    OnChange of that Combobox I have the following.

    Set(PageNav,Self.Selected.PTitle);Navigate(Self.Selected.Scrn)

    Then in the DefaultSelectedItems of that ComboBox I have 

    LookUp(colSiteNav,PTitle=PageNav)

    Then C/P this Combobox to all four pages, That way the landing page has the selected fill already highlighted.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 402

#2
WarrenBelz Profile Picture

WarrenBelz 380 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 293 Super User 2025 Season 2

Last 30 days Overall leaderboard