Search code examples
genexusgenexus-sd

Attribute concatenation with multiple Theme Classes in SD app


I am creating a SD App in GX Ev3, and am working on a list. I came across a requirement for the App and don't know how to do it.

I have to concatenate some Attributes in a String, but one of them (&Status) has to be Font Bold.

&Status + ', por ' + &User + ' em ' + &Date

Possible results:

  • 'OK, por User1 em 01/07/2014'
  • 'Com problema #5, por User2 em 01/07/2014'
  • 'Por validar, por User3 em 01/07/2014'

How can I do it, so it looks like continuous text?


Solution

  • You can do that by using a variable based on the Html domain, and using HTML formatting for the value (i.e. "<b>OK</b>, por ...").

    This will create a WebView to display the text, achieving the effect you want.

    However, WebViews are unfortunately more resource-intensive than edits, so using them inside a grid is not recommended. We hope to provide a better solution soon.