` Printed Icetips Article

Icetips Article



Par2: Where "Confirm Delete" message happend
2002-08-28 -- Dennis Evans
 
> Where do i trap what the user selected after the 'Confirm Delete' message
> box have been displayed?
> The user click on the DELETE button on the browse box. Clarion then
displays
> a message box for the user to confirm deletion. I want to pick up what the
> user selected on this screen.

  FileManager.Throw method, after the parent call.

   if (ErrorNumber = Msg:ConfirmDelete)
      if (returnValue = Level:Benign)   ! yes button
       do something
     else  ! return value will equal Level:Cancel
       do something else
    end
  end



Printed May 7, 2024, 1:51 pm
This article has been viewed/printed 35121 times.