Jump to content

Juarez

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Juarez

  1. On 2/5/2017 at 5:00 AM, surensiddhi said:

    How to catch the modal result returned from the called form. Following code works fine in Delphi but it is not working in UniGUI.

     

    if GetSQLParaForm.ShowModal = mrOK then  // Get the parameter values for the SQL Statement

    begin

        //show the result set with the parameters set in GetSQLParaForm

        GridViewForm.ShowModal;
    end;

     

     

    In GetSQLParaForm

     

    UniButton is ModalResult is set to mrOK ;    // does not work

     

    procedure TGetSQLParaForm.UniBitBtn1Click(Sender: TObject);
    begin
      Modalresult := mrOK;   // this also does not work;

    end;

     

     

    Any one know the alternative way to handle this.

     

     

    Got any answers? I'm also in the same doubt

×
×
  • Create New...