[How To] Check the available data/object for BrowserParams

The best & fast way to check the available data/objects/arguments for passing into delphi via BrowserParams is using the Browser Developer Console & debugger command.
Steps:
1. Open the event in IDE:
2. Open the script dialog of Script property and type the debugger; command inside the function:
3.Now open your app in browser and press F12 for open the developer console.
4. Execute the action which provoke that event, and developer console will pause on debugger; command:
5. Now look the available objects/properties/arguments by passing the cursor on
6. So, if you need to pass the "intId" value into delphi function, you should do this:
delphi code
and in function:
delphi code
Steps:
1. Open the event in IDE:
2. Open the script dialog of Script property and type the debugger; command inside the function:
3.Now open your app in browser and press F12 for open the developer console.
4. Execute the action which provoke that event, and developer console will pause on debugger; command:
5. Now look the available objects/properties/arguments by passing the cursor on
6. So, if you need to pass the "intId" value into delphi function, you should do this:
delphi code
with IWCGJQGMap3.JQGMapV3Options.Marker.Events.OnDragEnd.BrowserParams.Add do
begin
ServerName := 'intId';
BrowserScript := 'marker.intId';
end;
and in function:
delphi code
procedure TJQGMap3Frm.IWCGJQGMap3JQGMapV3OptionsMarkerEventsDragEnd(Sender: TObject; AParams: TStringList);
var
LId: string;
begin
LId:= AParams.Values['intId'];
end;