if (result.ClassPosition == 1)
// return dynamic image instead of text.
Nick Thissen wrote:
A simple solution could be to use a Label with a dynamic image background. Use the classposition as the binding, then make sure there is an image with name "1", but no images for any other positions. The first classposition should show the "1" image, the rest should not show any image.
Then also return an empty text for the classleader.
Nick Thissen wrote:
Yes. You can add multiple bindings in the 'Select data bindings' window. If you use multiple bindings, then you can refer to them by {0}, {1}, {2}, etc in the format string, in the order in which they are listed in the bindings window.
You can use your 'overallclassification/{0}/{1}.png' as the Path in the dynamic image, and then add your two bindings.