on 03-17-2009 3:58 AM
Hi,
Is there any way in which i can change the Horizontal Align property of a Transperant Container at run-time.
I tried using Context but its not possible to bind a context to H Align property.
Can anybody help me out with this problem.
Best Regards,
Kanakaraj V A
Hi
those are not bindable.
I think you can do it through coding
data: lr_container type ref to CL_WD_TRANSPARENT_CONTAINER.
data: lr_layout type ref to CL_WD_MATRIX_HEAD_DATA. " if it is matrix header data.
lr_container = view->get_element( '<container_name>' ).
lr_layout ?= lr_container->get_layout_data( ).
lr_layout->SET_H_ALIGN( CL_WD_MATRIX_HEAD_DATA=>e_h_align-center ).
this is only if your transparant container is part of Matrix Layout and it is layout data is Matrix Head Data
If it is Matrid data then use CL_WDR_MATRIX_DATA instead CL_WD_MATRIX_HEAD_DATA
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kanakaraj,
I don't think that is directly possible because hAlign is not the property of the container but is the layout data (according to the layout used) which can't be binded.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.