2009 Feb 03 9:38 AM
Hello everybody,
I want to create a little frame, in which I want to use the WRITE assignment.
As far as I know, with WRITE you can change the backgroundcolor of the text.
Anybody knows an opportunity how this is possible?
If you have any other suggestions, tell me plz
Regards!
2009 Feb 03 9:45 AM
Hi,
Try this code.
write:/ 'Hi' color 5 intensified on.
skip.
write:/ 'Hi' color 5 intensified off.
skip.
write:/ 'Hi' color 5 inverse on.
skip.
write:/ 'Hi' color 5 inverse off.
Hope this helps u.
Thanks.
Hello everybody,
I want to create a little frame, in which I want to use the WRITE assignment.
As far as I know, with WRITE you can change the backgroundcolor of the text.
Anybody knows an opportunity how this is possible?
If you have any other suggestions, tell me plz
Regards!
2009 Feb 03 9:42 AM
Hi,
You can simply do this by.
loop at screen.
if screen-name = 'your field'.
screen-intensified = 1.
modify screen.
endif.
endloop.
2009 Feb 03 9:47 AM
Thanks for your fast answers!
Is it possible to get backgroundcolours like green, yellow, red and blue this way?
I use an ALV Grid Table with different colours and I want to create a new frame which works as a caption.
With the intensified idea, it just changes the text colour and not the background colour.
Is this possible with an usual dynpro?
Edited by: Patrick Heinz on Feb 3, 2009 10:50 AM
2009 Feb 03 10:00 AM
Hi,
Yes intensified will only change the text color.
I believe you want to change the backgroung color of the report and not the selection screen. If yes, change the layout of the ALV.
Thanks,
Vivekanand
2009 Feb 03 9:44 AM
2009 Feb 03 9:45 AM
Hi,
Try this code.
write:/ 'Hi' color 5 intensified on.
skip.
write:/ 'Hi' color 5 intensified off.
skip.
write:/ 'Hi' color 5 inverse on.
skip.
write:/ 'Hi' color 5 inverse off.
Hope this helps u.
Thanks.
2009 Feb 03 9:46 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |