Jump to content

Recommended Posts

Posted

I made a multi-language program

It does not work when I change the caption of UniFileUploadButton at runtime.

UniFileUploadButton1.Caption := UniMainModule.GetDisplayValue('Upload');

Posted
5 hours ago, EDOM said:

It does not work when I change the caption of UniFileUploadButton at runtime.

I will open a ticket in the support portal.

Try this approach for now:

  with UniFileUploadButton1 do
  begin
    Caption := 'New Caption';
    JSInterface.JSCall('button.setText', [Caption]);
  end;

 

Posted
On 5/16/2020 at 7:46 PM, Sherzod said:

I will open a ticket in the support portal.

Try this approach for now:


  with UniFileUploadButton1 do
  begin
    Caption := 'New Caption';
    JSInterface.JSCall('button.setText', [Caption]);
  end;

 

Hi Sherzod
It's working fine
Thank you very much

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