` 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 November 23, 2024, 5:57 am
This article has been viewed/printed 35224 times.