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: 

Hiding a text editor in module pool

Former Member
0 Kudos
711

Hi experts,

I have designed a text editor in module pool by using custom control.

Is there any way by which i can hide the text editor based on certain conditions.

please reply urgently !!

3 REPLIES 3

former_member195402
Active Contributor
0 Kudos
207

Hi,

for SCREEN-GROUPs are not available for custom controls, either you can try to make the control invisible by its name (LOOP AT SCREEN WHERE name = 'YOUR_EDITOR_CONTROL') at PBO.

Or you can try to solve your issue with a docking container outside your normal screen and show this container depending on your conditions.

Regards,

Klaus

raymond_giuseppi
Active Contributor
0 Kudos
207

Did you check methods of your container, most container classes carry the method "set_visible". Else a class as CL_GUI_TEXTEDIT also carries this method.

Regards,

Raymond

Former Member
0 Kudos
207

wouldn't a call to CL_GUI_TEXTEDIT=>SET_VISIBLE( ) do?