2006 Feb 26 11:10 AM
Hi Folks ,
i'm using an alv grid in my program and might have change the initial size of it's custom container which seats above it .
is there any way that i can chnage the initial size (H/V) of it ?
i try via screen table but it can't cupture the custom container name within the loop .
Hi Folks ,
i'm using an alv grid in my program and might have change the initial size of it's custom container which seats above it .
is there any way that i can chnage the initial size (H/V) of it ?
i try via screen table but it can't cupture the custom container name within the loop .
2006 Feb 26 12:00 PM
you can use the set_alignment method of cl_gui_custom_container class for this
create object my_container
exporting
container_name = 'OUTPUT_CONTAINER'
exceptions
others = 1.
case sy-subrc.
when 0.
when others.
raise cntl_error.
endcase.
alignment = my_container->align_at_left +
my_container->align_at_right +
my_container->align_at_top +
my_container->align_at_bottom.
call method my_container->set_alignment
exporting
alignment = alignment.
Regards
Raja
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |