Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bad IWModalWindow.ButtonIndex in version 15.1
#1
Hi,

I've installed today version 15.1.0 of Intraweb and recompiled TMS components, and my applications. I have an application that shows a ModalWindow with 2 fields and 2 buttons (OK and Cancel), and check return using this code:

if Login_Modal.ButtonIndex >= 0 then begin   
  case Login_Modal.ButtonIndex of
      1: // Conectar
          ValidarUsuario;
    end;
  end;


The problem is that regardless the button I press, the value of ButtonIndex is always 2 (Cancel).
How can I do to know the button really pressed by the user?


Best regards,

                  Venancio Lasquibar
Reply


Messages In This Thread
Bad IWModalWindow.ButtonIndex in version 15.1 - by v.lasquibar@telefonica.net - 07-19-2019, 09:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)