EDOM Posted May 16, 2020 Posted May 16, 2020 I made a multi-language program It does not work when I change the caption of UniFileUploadButton at runtime. UniFileUploadButton1.Caption := UniMainModule.GetDisplayValue('Upload'); Quote
Sherzod Posted May 16, 2020 Posted May 16, 2020 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; Quote
EDOM Posted May 20, 2020 Author Posted May 20, 2020 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 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.