Jump to content

how to pass between form and form parameters


goodhelp

Recommended Posts

how to pass between form and form parameters, such as the a.php in php and b.php two pages, a.php can be placed b.php? id = 123 link, the parameters passed to the b.php 123

 

Why not just use the form directly :

 


procedure TMainForm.UniButton1Click(Sender: TObject);
begin
 ChildForm.UniLabel1.Caption := 'Directly set';
 ChildForm.Show;
end;

 

Remember.. thanks to Farshads hard work, Unigui applications are properly statefull, I think a lot of people forget that.

Its not as efficient as passing parameters between static/pseudo-dynamic pages but its a damn side easier to manage.

Link to comment
Share on other sites

how to pass between form and form parameters, such as the a.php in php and b.php two pages, a.php can be placed b.php? id = 123 link, the parameters passed to the b.php 123

 

 

Just like in a ordinary Delphi form:

 

procedure TForm1.Button1Click(...);
begin
 Form2.ExecuteMyCommand(param1, param2, param3);
end;

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...