Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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;

  • Administrators
Posted

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...