On After Execute
From Morfik Wiki
This event is fired by a Form (or Report) on the server after the Form (or Report) has completed its part in responding to a request and just before the Form (or Report) is destroyed.
- Where
Server
- Sample code
FX Code
Procedure Form1.WebFormAfterExecute(Sender: TWebDocument); Begin If TextLabel1.Caption = HttpServer.Request.RemoteAddress Then Begin TextLabel1.Caption := 'This IP already exists'; TextLabel1.Visible := True; End; End;
| BX Code |
|---|
Published Message Sub WebFormAfterExecute(Sender As TWebDocument) If TextLabel1.Caption = HttpServer.Request.RemoteAddress Then TextLabel1.Caption = "This IP already exists" TextLabel1.Visible = True End If End Sub |
| CX Code |
|---|
published message void WebFormAfterExecute(TWebDocument Sender) { if (TextLabel1.Caption == HttpServer.Request.RemoteAddress) { TextLabel1.Caption = "This IP already exists"; TextLabel1.Visible = True; } } |
- Applies to
Form, Report

