Application Development 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: 

Issue Regarding Text-Editor

Former Member
0 Kudos

Hi All,

I have a Dialog Screen in that i had added one Push Button.

When User Clicks on that Push Button it will take us to <b>TEXT EDITOR[Just like SO10-Standard Text]</b> to enter text.

Now i want to make that <b>TEXT EDITOR</b> to be disabled, Means user should not be able to enter any text he can see [<b>Dispaly</b>] the text.

It should not be in change mode any more.

Can any body tell me how can i achieve this.

Thanks in advance.

Thanks & Regards,

Rayeez.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I assume that you are using the EDIT_TEXT function module? If so, the just make the DISPLAY parameters = 'X' when you want display mode.



* throw editor
call function 'EDIT_TEXT'
  exporting
<b>    display             = 'X'</b>
    header              = header
    save                = 'X'
  tables
    lines               = txt_lines.

Regards,

Rich Heiilman

2 REPLIES 2

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I assume that you are using the EDIT_TEXT function module? If so, the just make the DISPLAY parameters = 'X' when you want display mode.



* throw editor
call function 'EDIT_TEXT'
  exporting
<b>    display             = 'X'</b>
    header              = header
    save                = 'X'
  tables
    lines               = txt_lines.

Regards,

Rich Heiilman

0 Kudos

HI Rich,

Yes i am using EDIT_TEXT F.M only.

And thanks for that reply.

Thanks,

Rayeez.