‎2006 Dec 12 10:01 AM
Hi All,
Is it possible that the text on a push button is displayed in RED ?
Please let me know about this.
Regards,
Usha
‎2006 Dec 12 10:03 AM
Set up the field COLOR in structure screen:
At the at selection-screen output event, try this:
LOOP AT screen.
IF screen-name = 'YOUR_PBUTTON'.
screen-color = 5. "COL_NEGATIVE
MODIFY screen.
ENDIF.
ENDLOOP.
Hope this helps.
Roby.
‎2006 Dec 12 10:07 AM
‎2006 Dec 12 10:14 AM
Thank you Roberto and Chandrashekar.
But, this option is fine to display the text in the text field. I have to display the text on the push button in red. Also, screen-color is an integer field. It cannot be set with the value C510.
Regards,
Usha
‎2006 Dec 12 10:08 AM
Hi Usha,
It seems its not possible, there is no such option to dispaly the text in the Red color.
Regards,
Satya
‎2006 Dec 12 10:14 AM
hi,
try this out.... it wil work
LOOP AT screen.
IF screen-name = 'PushButton'.
screen-color = 5.
MODIFY screen.
ENDIF.
ENDLOOP.
‎2006 Dec 12 10:15 AM
Hello Usha,
I think it is not possible. There is no such coloring option in SAP
Vasanth
‎2006 Dec 12 10:24 AM