Skip to Content
0

Change the color of a variable in a message line genrated by a FM ''MESSAGE_TEXT_BUILD''

Jan 12, 2017 at 04:50 AM

51

avatar image
Former Member

hi everybody

i have an requirement that i have to change the color of variable in a message line. which is generated by the FM 'MESSAGE_TEXT_BUILD'.

source code is

GV_textout is coming in Green Color. i want that this GV_MSGV1 should come in Yellow color in the ouput.

the out put should come like this.

capture1234.png (19.4 kB)
capture234.png (3.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member Jan 12, 2017 at 05:42 AM
0

Solved by my self

FORMAT COLOR 5 on.
write :/ GV_TEXTOUT+0(8).

FORMAT COLOR 3 On.
WRITE GV_TEXTOUT+8(10) HOTSPOT.

FORMAT color 5 on.
WRITE GV_TEXTOUT+18(55).

Share
10 |10000 characters needed characters left characters exceeded