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

FORMAT C_TEXTEDIT_CONTROL

Former Member
0 Likes
1,077

Hi everyone

Who know how to control format of paragraph and font type of the text control C_TEXTEDIT_CONTROL ?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
797

I am not sure if you are using the TEXT EDIT control you can get the font / format of the text as the table it is returning if generic type.

Unlike EDIT_TEXT function which also returns the Formatting of the lines, the GET methods of the control, does not return the font information.

regards,

Ravi

Note :Please mark the helpful answers

5 REPLIES 5
Read only

Former Member
0 Likes
798

I am not sure if you are using the TEXT EDIT control you can get the font / format of the text as the table it is returning if generic type.

Unlike EDIT_TEXT function which also returns the Formatting of the lines, the GET methods of the control, does not return the font information.

regards,

Ravi

Note :Please mark the helpful answers

Read only

Former Member
0 Likes
797

I feel its' not possible to include font and paragraph format for text exit ctrl.

see the link for full functionality of text edit ctrl.

http://help.sap.com/saphelp_45b/helpdata/en/08/514035634d761fe10000009b38f889/content.htm

rgds,

TM

Read only

Former Member
0 Likes
797

Hi,

you can format the text lines but the font type is not possible to set .

Regards

vijay

Read only

0 Likes
797

Hi All,

I am using theis class C_TEXTEDIT_CONTROL to create Text Editor.

Everything has done.

The Text Editor has been embedded in the Screen where I can put the comments.

My issue is :-- If I want to add more comments next time, the cursor should be at end place.

Right now the cursor is at beginning line.

Pls guide me which method I should use to point Cursor at the end.

Rishi Bhatia

Read only

rajendra_sv
Advisor
Advisor
0 Likes
797

Hello,

Textedit control is simple multiline editor. Textedit control further supports only plain text format. Refer note 845149.

Further C_TEXTEDIT_CONTROL is older one, it is suggested to use CL_GUI_TEXTEDIT control. Please see note 680072.

For more details on textedit control usage CL_GUI_TEXTEDIT refer

http://help.sap.com/saphelp_nw70/helpdata/EN/f1/549e36cf0ecb7de10000009b38f889/frameset.htm

Further to answer, the cursor cannot be positioned at the last. It will always be positioned at the begining.

Best Regards

Rajendra