Jump to content

How to replace images in unidbnav with Captions


JohanC

Recommended Posts

On 1/15/2022 at 3:04 PM, JohanC said:

How to replace images in unidbnav with Captions (e.g. New, Delete, Edit, Save, Cancel, Refresh)

Hello,

One possible solution.

image.png.bba45146fd4bca70615b6f7797be16b2.png

procedure TMainForm.UniFormReady(Sender: TObject);
begin
  JSInterface.JSCode(#1'.owner.uni_dbn_DELETE.setIcon(null);');
  JSInterface.JSCode(#1'.owner.uni_dbn_DELETE.setText("Delete");');
end;

 

Link to comment
Share on other sites

I did as you showed, It does not work for me

Maybe I do not understand how the unidbnavigator will no what is means, (not sure what #1 refers to)

  JSInterface.JSCode(#1'.owner.uni_dbn_DELETE.setIcon(null);');
  JSInterface.JSCode(#1'.owner.uni_dbn_DELETE.setText("Delete");');

Thanks

Link to comment
Share on other sites

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