Trapping Smarttoolbar CANCEL
 
Forums / SmartComponent Library - Developer Forum / Trapping Smarttoolbar CANCEL

Trapping Smarttoolbar CANCEL

3 posts, 1 answered
  1. Roger Blanchard
    Roger Blanchard avatar
    381 posts
    Registered:
    29 Jun 2018
    18 Dec 2018
    Link to this post
    When the user clicks the cancel tool can this be trapped without looking at the tool click evet? I have tried the "EndUpdate" event of the adapter but that does not work. There exits an AfterCancelCreateRecord on the Adapter but does not appear to be an AfterCancelUpdateRecord.
  2. Mike Fechner
    Mike Fechner avatar
    319 posts
    Registered:
    14 Sep 2016
    Answered
    18 Dec 2018 in reply to Roger Blanchard
    Link to this post
    The viewer should have a BeforeCancel event ... which is cancellable by setting e:Cancel = true.
  3. Roger Blanchard
    Roger Blanchard avatar
    381 posts
    Registered:
    29 Jun 2018
    18 Dec 2018 in reply to Mike Fechner
    Link to this post
    Yep, just found these on viewer...looking too much at Adapter. 

    Thanks.
3 posts, 1 answered