Jump to content

Recommended Posts

Posted

Use some css to make html links to appear as a button, then put the usual <a href> code in TUniLabel.Caption

would you please give me a sample

Posted

You need to disable pop-up blocker. It is not something that you can overcome using code.

this is not logically.
how another sites are doing this with out disabaling popup
Posted

 

Same window:

UniSession.UrlRedirect('http://www.google.com');

New window:

UniSession.BrowserWindow('http://www.google.com', 0, 0, '_blank');

does it need to disable popup yet with this code?

Posted

this code isn't in version that I am using

 

 

UniSession.UrlRedirect

 

This code of what version of the existing Framework?

Posted

does not work.it needs disbaling popup yet

 

UniSession.UrlRedirect('http://www.google.com');

 

this is a dirty style

 

procedure TMainForm.UniButton2Click(Sender: TObject);

begin
  UniServerModule.ServerMessages.TerminateTemplate.Text := '<script>location.href=''http://google.com''</script>';
  close;
end;

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...