[solved] markup image by source ID |
Post Reply |
Author | |
hexxa
Groupie Joined: 02 December 2010 Status: Offline Points: 22 |
Post Options
Thanks(0)
Posted: 14 September 2017 at 11:32am |
Hi!
In 18.0.1 version when i use markup feature with image in item's caption, the image is not visible if the icon is in ImageManager control. File reference is working. Reproduce: Put a reportcontrol on a Form. (ReportControl1) Put an Imagemanager on a form. (ImagManager1) Put PNG image in ImageManager1 with id 1. Write code in Form_Load sub ReportControl1.EnableMarkup = True Set ReportControl1.Icons = ImageManager1.Icons ReportControl1.Columns.Add 0, "", 100, True ReportControl1.Records.Add ReportControl1.Records(0).AddItem "" *ReportControl1.Records(0).Item(0).Caption = "<Image Source='1'></Image>" ReportControl1.Populate The image isn't visible. Replace *marked row ReportControl1.Records(0).Item(0).Caption = "<Image Source='file://c:/IMG/1.png''></Image>" The image get visible. |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello hexxa,
Try this
Regards, Oleksandr Lebed |
|
hexxa
Groupie Joined: 02 December 2010 Status: Offline Points: 22 |
Post Options
Thanks(0)
|
Thank you! It works!
hexxa
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |