Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWAppFormProcessParams
#1
Hello,

when exactly does IWAppFormProcessParams fire?

procedure TFormA.ButtonAsyncClick (Sender: TObject; EventParams: TStringList);
var
  F: TIWAppForm;
begin
  F:=TFormB.Create(WebApplication);
  F.Params.Add('AName'+F.Params.NameValueSeparator+'AValue');
  F.Show;
end;

In Form B neither IWAppFormProcessParams fires, nor are the parameters available in IWAppFormRender:

procedure TFormB.IWAppFormRender(Sender: TObject)
var
  S: string;
begin
   S:=Self.Params.Values['AName']; (* returns an empty string *)
end;

Thanks for quick reply!
The way to success is always under construction ... but i see a light at the end of the tunnel  Idea Big Grin
Reply


Messages In This Thread
IWAppFormProcessParams - by Lorbass - 11-30-2021, 03:04 PM
RE: IWAppFormProcessParams - by Jose Nilton Pace - 11-30-2021, 04:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)