Page 1 of 1

QR Code size depending on content

Posted: Mon Jul 20, 2020 12:47 pm
by codemonkey
Hello!

I need to place a QR Code on a Report but it should be only visible AND taking space if it has content.
The IIF works well for the content but if it returns nothing the barcode element uses the same space as if it was filled.
Creating ugly empty fields in the report.

There is no "CanShrink" like in other elements like pictureboxes.

Is there a way to shrink the QR Code field when the QR Code itseld if empty?

Greetings and thank you for your help!

Re: QR Code size depending on content

Posted: Tue Jul 21, 2020 7:24 am
by Lech Kulikowski
Hello,

You can add Condition with the "Component Is Enabled" option and hide it.

Thank you.

Re: QR Code size depending on content

Posted: Mon Jul 27, 2020 1:26 pm
by codemonkey
Thank you very much!

It works!

Re: QR Code size depending on content

Posted: Wed Jul 29, 2020 4:02 am
by Andrew
You are welcome!