Hi @Anonymous,
make use of a locale variable.
Set for your screen.onvisible attribute something like:
UpdateContext({disabled:true})For the dropdown.onchange attribute you set disabled value to false:
UpdateContext({disabled:false})And for the button.displaymode attribute use this:
If(disabled, DisplayMode.Disabled, DisplayMode.Edit)
You can check for a button state but I think its not possible to fire a click event on a disabled button. As a long way around you could lay an invisible button (no text, no colors, but not "not visible") over the disabled one. This helper button is only visible if the original button is disabled. Then you could use the onselect attribute of this button to change a variable (like above) and show up your warning.