goodhelp Posted June 23, 2011 Share Posted June 23, 2011 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 Link to comment Share on other sites More sharing options...
JasonReid Posted June 23, 2011 Share Posted June 23, 2011 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 More sharing options...
cvjcvj Posted June 23, 2011 Share Posted June 23, 2011 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 More sharing options...
Administrators Farshad Mohajeri Posted June 23, 2011 Administrators Share Posted June 23, 2011 uniGUI apps are SPI applications (Single Page Interface). There are many Forms but only one Page. You can only send parameters when application starts from initial URL. You can create Forms at run time with any parameter you like. Can you explain further? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now