2006 Nov 03 4:11 PM
In an MS Word docuemnt you can paste a graphic into the document along with the text and save. Can this be done also with the class CL_GUI_TEXTEDIT editor or another class?
2006 Nov 03 7:38 PM
Hello Kenneth
The textedit control is - like a notepad - only used for text. However, you can use the picture control (<b>CL_GUI_PICTURE</b>).
Have a look at the sample programs in DW Demos (transaction <b>DWDM</b>).
Regards
Uwe
2006 Nov 03 7:38 PM
Hello Kenneth
The textedit control is - like a notepad - only used for text. However, you can use the picture control (<b>CL_GUI_PICTURE</b>).
Have a look at the sample programs in DW Demos (transaction <b>DWDM</b>).
Regards
Uwe
2006 Nov 03 7:40 PM
2006 Nov 04 11:54 AM
if you want kind of rich text editor where you can have pictures, links, etc. you can use BTF editor.
Check this blog for sample code.
/people/durairaj.athavanraja/blog/2005/08/27/btf-editor-in-sapgui
Regards
Raja
2006 Nov 07 12:59 PM
I implemented the sample program from Raja and it works fine. However, it seems I can only paste pictures/graphics from my web browser and not from the clipboard. If I copy a picture on my harddrive it will not paste to the BTF editor. But if I copy a picture from the internet, it will paste to the BTF editor. Is this true or am I missing something?
2006 Nov 11 11:39 AM
the differrence is because, when you copy paste a picture from a browser, it actually pastes the url where when you do the same from your harddrive it tries to copy the image inself which is not supported in BTF
Regards
Raja
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |