cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lolla70
Helper IV
Helper IV

List Box code result! Please help

Hi all

please help me as I need this so urgent 

I have created a label called lblResult

 

i set a variable called varToWork

and I have a list box “Yes”, and “No”

 

I want if I choose the yes From the list box a text will appear Ready and the lblResult to be green color

and if I select the No the text to appear Not Ready the lblResult box color to yelloe

 

how do I code that? Please help

 

11 REPLIES 11

OK, here what I am doing, I have 3 questions, First question if answered Yes will go to the next screen where is the lblResult - No Work

If answered No - it will show the 2nd question and if Yes will go to the next screen - lblResult - No Work

if answered No - will show the last question if Yes - No Work if No Work.

So now we figured the Code for the lblResult but I want to put them under the text together 

If(ListBox1.Selected.Value = "YES", "NOT READY")

If(ListBox2.Selected.Value = "YES", "NOT READY")

If(ListBox3.Selected.Value = "YES", "READY", "NOT READY")

The screen shows checkbox but I have them as listbox this is old screen

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (46,391)