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

make textedit visible/invisible

Former Member
0 Likes
652

Dear friends,

In PBO I create a textedit object of class cl_gui_textedit:

* Check Result textedit
    CREATE OBJECT chk_rslt
           EXPORTING parent = container_middle.
    CALL METHOD chk_rslt->SET_TOOLBAR_MODE
        EXPORTING TOOLBAR_MODE = 0.
    CALL METHOD chk_rslt->SET_STATUSBAR_MODE
        EXPORTING statusbar_MODE = 0.

I would like this object to be invisible at this point.

Later at some point depending on some other events I want to make this textedit object visible.

I was looking at the methods and properties of class cl_gui_textedit and couldn't find anything suitable.

I believe there is something in that class which can ve used to accomplish my task.

I just don't know which one.

Please help.

Thank you,

Tatyana

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
465

Pretty sure that you can use the inherited method SET_VISIBLE, Set it to "X" when you want it to be visible, and space when not.

Regards,

Rich Heilman

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
466

Pretty sure that you can use the inherited method SET_VISIBLE, Set it to "X" when you want it to be visible, and space when not.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
465

thank you, Rich.

I need glasses i guess

Tatyana