Jump to content

UniDBNavigator - Event


Angelica

Recommended Posts

Posted 06 July 2018 - 03:28 PM

Hi  !!

           We have a problem with UniDbNavigator --> Events--> BeforeAction

           We need that button ->nbInsert can  Table.cancel  when the process ´s done. 

 

        Details:

       

       1. I 've made for you  2 very simple  test case,      

       2. 1. In a Form, in VCL:  

                    procedure TForm1.DBNavigator1Click(Sender: TObject; Button: TNavigateBtn);

                          begin
                              if Button = nbInsert then
                                          IBCTable1.Cancel;
                              end;
                     end,
               Behavior: Button Insert doesn´t work, for us it´s OK, because it ´s we need that way.
          2. In a Form, in Unigui:
                         procedure TMainForm.UniDBNavigator1BeforeAction(Sender: TObject;   Button: TNavigateBtn);
                                begin
                                   if Button = nbInsert  then
                                      IBCtable1.Cancel;
 
                               end;

                     Behavior: Button Insert  workS, for us it´s KO, because it ´s we need that the table.Cancel works.

 

                   Have you an alternative?

 

        Thanks in advanced.

 

Angélica ( Arizmendi Team)    

 

 

         

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...