|
| [WD22] WordWraping static, or chaning RTF color |
| Iniciado por rob, 31,ene. 2018 17:33 - 1 respuesta |
| |
| | | |
|
| |
Miembro registrado 105 mensajes |
|
| Publicado el 31,enero 2018 - 17:33 |
So here's a silly problem I seem to be struggling with.
I have a screen that I'm using to help debug a crash problem, and on that screen I need to display a multi-line word wrapped static field.
I'm just taking a long string variable and displaying it in that field.
The problem I seem to be having is that I can't get the static control to word wrap the data, unless I change it to an RTF control. in which case it changes the color of the text and I can't seem to get that to change to white.
I guess I could manually add the RTF tags to the beginning of the string to change the text color, but that seems like a weird hoop to have to jump through to do something that simple.
What am I missing? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 31,enero 2018 - 18:59 |
Hi Robert,
just juste an EDIT field in read only mode... You'll have the word wrapping, the scrollbar, and everything you need for debug
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Le 1/31/2018 à 11:33 AM, Robert a écrit :
So here's a silly problem I seem to be struggling with. I have a screen that I'm using to help debug a crash problem, and on that screen I need to display a multi-line word wrapped static field.
I'm just taking a long string variable and displaying it in that field.
The problem I seem to be having is that I can't get the static control to word wrap the data, unless I change it to an RTF control. in which case it changes the color of the text and I can't seem to get that to change to white.
I guess I could manually add the RTF tags to the beginning of the string to change the text color, but that seems like a weird hoop to have to jump through to do something that simple.
What am I missing? |
| |
| |
| | | |
|
| | | | |
| | |
|