Hey all,
I came up with a solution to this today. It is not perfect, but it works very well:
//Put this code in the OnSelect Property of the button you use to navigate to the form screen.
Navigate(YourScreenName, ScreenTransition.None, UpdateContext({locDontRunCmbOnChange: false}))
//Set your combo box's OnSelect Property to this:
UpdateContext({locDontRunCmbOnChange: true})
//Set your combo box's OnChange Property to this:
If(
locDontRun,
UpdateContext({locCmbOnChange: true})
)
//Put a transparent rectangle on the top of the screen and set its Visible Property to
locCmbOnChange
Finally, in the OnSelect Property of the Rectangle, above put the code you normally used in the OnChange Property of the combo box.
Now, when they select the combo box, they will be able to interact with it. When they click anywhere else on the screen, the rectangle's OnSelect Property will fire, operating like a delayed OnChange Property of a Combo box.
I hope that works well for everyone!