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

text editor

Former Member
0 Likes
799

Hi,

in our 2d barcode scanning porgram, wh v r scanning v r trying 2 store it in an internal table, but here some ean nos r not captured fully.

as a result i have decided 2 use a text editor 2 cature the ean's, and is being captured correctly.

in this i have a prob that the user will be able 2 modify the text editor.

i want 2 know is there a way whr as soon as v scan, text editor is disabled n they will not be able 2 enter any thing in the editor.

kindly help me on this.

regards,

Naresh

Edited by: naresh kumar on Jan 2, 2008 5:41 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
774

Hi Naresh,

use class CL_GUI_TEXTEDIT

and method SET_READONLY_MODE.

Regards,

Talwinder

4 REPLIES 4
Read only

Former Member
0 Likes
775

Hi Naresh,

use class CL_GUI_TEXTEDIT

and method SET_READONLY_MODE.

Regards,

Talwinder

Read only

0 Likes
774

Hi Talwinder,

Thanx for the reply but if i use set_readonly_mode then watever v scan will also be not displayed right ?

wat i want 2 do is as soon as they scan i want 2 triger some event 2 disable any further input.

if u could plz help me on this.

regards,

Naresh

Read only

0 Likes
774

Naresh,

give this method after getting input in your text editor .

i think it will solve your problem

Regards,

Talwinder.

Read only

0 Likes
774

Thanks a lot Talwinder,

i think its working, thank u for ur help.

regards,

Naresh