goodhelp Posted June 23, 2011 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 Quote
JasonReid Posted June 23, 2011 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. Quote
cvjcvj Posted June 23, 2011 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; Quote
Administrators Farshad Mohajeri Posted June 23, 2011 Administrators 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? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.