04-27-2010 5:06 AM
hi guru,
Iam using textbox custom control in screen painter, so i will inactive or hide that custom control textbox for some condition.
please help me on this
thanx,
man
04-27-2010 5:20 AM
HI,
Maintain a field under a group.
In PBO module of the screen code.
loop at screen.
if screen-group1 'G1'.
screen-active '0'.
or
screen-output '1'.
endif.
modify screen.
endloop.
Regards and Best wishes.
04-27-2010 7:57 AM
In PBO, I am using the code
CREATE OBJECT textedit_custom_container
EXPORTING
container_name = 'NOTE_EDITOR'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
CREATE OBJECT note_editor
EXPORTING
parent = textedit_custom_container
wordwrap_mode = cl_gui_textedit=>wordwrap_at_windowborder
wordwrap_to_linebreak_mode = cl_gui_textedit=>true
EXCEPTIONS
OTHERS = 1.
so how to hide the Custom textbox according to this code.
04-27-2010 5:51 AM
hi manish,
as explain above using loop at screen , you can achieve your requirement.if you still have doubts please let us know,will try and help you.
thanks
Sachin soni
05-11-2010 12:04 PM