TestPage.No() Method
Version: Available or changed with runtime version 1.0.
Gets the No system action.
Syntax
Action := TestPage.No()
Parameters
TestPage
Type: TestPage
An instance of the TestPage data type.
Return Value
Action
Type: TestAction
The No system action.
Remarks
The No action is used to dismiss a modal page or test page.
The No method just retrieves the No system action, but does not execute it. To invoke the No action on the test page use the Invoke Method, as shown in the example below.
Example
The following example uses a handler method to dismiss the "Post and Send Confirmation"
modal test page when invoked in code.
[ModalPageHandler]
procedure PostandSendPageHandlerNo(var PostandSendConfirmation: TestPage "Post and Send Confirmation")
begin
PostandSendConfirmation.No.Invoke;
end;
See Also
TestPage Data Type
Invoke Method
Get Started with AL
Developing Extensions
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per