guidenomad.blogg.se

Text edit backup
Text edit backup











text edit backup text edit backup

call method w_text_contnr->select_lines exporting from_line = 2 to_line = 2 exceptions error_cntl_call_method = 1 others = 2.Ĭall method w_text_contnr->protect_selection exporting protect_mode= 0 exceptions error_cntl_call_method= 1 invalid_parameter = 2 others = 3. call method w_text_contnr->select_lines exporting to_line = 1 exceptions error_cntl_call_method = 1 others = 2.Ĭall method w_text_contnr->protect_selection exporting protect_mode= 1 exceptions error_cntl_call_method= 1 invalid_parameter = 2 others = 3.

Text edit backup code#

Here is my code any suggestions (from anyone) would be much appreciated.Ĭall method w_text_contnr->set_text_as_r3table exporting table = t_texts_raw exceptions error_dp= 1 error_dp_create = 2 others= 3.Ĭall method w_text_contnr->set_readonly_mode exporting readonly_mode= wl_readonly_mode exceptions error_cntl_call_method = 1 others = 2. I still get the same issue the first character is greyed out, but nothing else. Your code snippet was much appreciated thank you very much. Hope this will help you… theres not much of comments in this, but the varaibles are self explanatory…. CALL METHOD c_textedit_control=>flush EXCEPTIONS flush_error = 01. CALL METHOD c_edit_ctrl->set_selection_pos EXPORTING from_line = 0 “YOCX_TEXT-FROM_LINE from_pos = 0 “YOCX_TEXT-FROM_POS to_line = 0 “YOCX_TEXT-TO_LINE to_pos = 0. CALL METHOD c_edit_ctrl->protect_selection EXPORTING protect_mode = 0. CALL METHOD c_edit_ctrl->select_lines EXPORTING from_line = n2 to_line = n3. CALL METHOD c_edit_ctrl->protect_selection EXPORTING protect_mode = 1. CALL METHOD c_edit_ctrl->select_lines EXPORTING from_line = 1 to_line = n. CALL METHOD c_edit_ctrl->set_readonly_mode EXPORTING readonly_mode = read_only_loc. * Text CALL METHOD c_edit_ctrl->set_text_as_r3table EXPORTING table = c_text_tab. Am attaching the code which i developed for Protect lines…… IF NOT i_change IS INITIAL.













Text edit backup