Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

fontsize and scrollbars - CL_DD_DOCUMENT / CL_GUI_HTML_VIEWER

Former Member
0 Likes
1,233

Hi,

I have to display texts in various background colors and font sizes in a standard dynpro.

I tried to use the class CL_DD_DOCUMENT and its methods ADD_TEXT. This method provides attributes for background color and font size. Unfortunately it's seems to be not possible to use any arbitrary font size.

Is there an elegant solution to overwrite a certain method, e.g. set_attributes and thus handle various

font sizes within CL_DD_DOCUMENT? I figured out that CL_DD_DOCUMENT internally converts to html.

As a consequence I used the class CL_GUI_HTML_VIEWER. Now I dynamically create html and it works pretty fine.

The only problem I have are the vertical scrollbars. How can I disable them?

Thank you,

Tobias

Hi,

I have to display texts in various background colors and font sizes in a standard dynpro.

I tried to use the class CL_DD_DOCUMENT and its methods ADD_TEXT. This method provides attributes for background color and font size. Unfortunately it's seems to be not possible to use any arbitrary font size.

Is there an elegant solution to overwrite a certain method, e.g. set_attributes and thus handle various

font sizes within CL_DD_DOCUMENT? I figured out that CL_DD_DOCUMENT internally converts to html.

As a consequence I used the class CL_GUI_HTML_VIEWER. Now I dynamically create html and it works pretty fine.

The only problem I have are the vertical scrollbars. How can I disable them?

Thank you,

Tobias

1 REPLY 1
Read only

Former Member
0 Likes
605

Hi,

Please check the program DD_STYLE_TABLE.

check the link also

Regards,

Sandeep