Jump to content

Changing the image of ToolButton in Web mode


krasnov_anatoly
 Share

Recommended Posts

Hi, Farshad!

 

Tell me please how dinamically to change the image in Web mode.

 

Source code:

old values...

ToolButton.ImageIndex:=10;

ToolButton.Hint:='Old Hint';

 

new values...

ToolButton.ImageIndex:=11;

ToolButton.Hint:='New Hint';

In VCL all changing, but in browser this code not change image and hint.

I guess I have to add the script to update the buttons, but I do not know exactly how to do

Link to comment
Share on other sites

  • Administrators

Hi, Farshad!

 

Tell me please how dinamically to change the image in Web mode.

 

Source code:

old values...

ToolButton.ImageIndex:=10;

ToolButton.Hint:='Old Hint';

 

new values...

ToolButton.ImageIndex:=11;

 

Logged #1195

 

ToolButton.Hint:='New Hint';

 

Already fixed. Please use latest build of 0.87.

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.

 Share

×
×
  • Create New...