Ver Mensaje Individual
  #8  
Viejo 24/07/09, 06:55:11
PabloGP PabloGP is offline
Junior Member
 
Fecha de Ingreso: sep 2008
Mensajes: 21
Buenos días,
También tuve ese mismo problema y tras mirar en varios foros llegue a la conclusion q hace un LOOP AT SCREEN y ponerle el setvisible no funciona para los Custom Controls.

Yo consegui arreglaro con esto:

data:
* Create reference to the custom container
custom_container type ref to cl_gui_custom_container,
custom_container1 type ref to cl_gui_custom_container,
* Create reference to the TextEdit control
editor type ref to cl_gui_textedit,
editor2 type ref to cl_gui_textedit.

*.- Se ponen los costum_control de la descripción y la solución en modo lectura.

call method editor2->set_readonly_mode
exporting
readonly_mode = 1.

call method editor->set_readonly_mode
exporting
readonly_mode = 1.

Con esto no lo hago invisible, pero al menos no deja intruducir datos... Pruebalo e investiga si hay algun método similar para hacerlo invisible.

Un saludo
Responder Con Cita