on 07-20-2006 5:24 AM
Hey.. I am new to Web Dynpro and got couple of queries and put you guys one below.. please do reply and let me knwo the solution.
How to set Streched horizontal property in Transparent Container dynamically?
thanks in advance
- Dhinesh
Dear dinesh
Put the coding after creating transparent container
dynamically. hope it will be very helpful for you
IWDTransparentContainer trans=(IWDTransparentContainer)view.createElement(IWDTransparentContainer.class,"TranF");
trans.createLayout(IWDMatrixLayout.class);
trans.destroyAllChildren();
IWDMatrixLayout gl=(IWDMatrixLayout)trans.createLayout(IWDMatrixLayout.class);
gl.setStretchedHorizontally(false);
Regards
Dhinakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have also said the same thing but the layout is grid layout,
Are u confused with the layouts.
Regards,
Vijayakhanna Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this code
1)Create the transparent container
IWDTransparentContainer UIcontainer =(IWDTransparentContainer) view.createElement(IWDTransparentContainer.class,"TransparentContainer1");
2)Create a layout for the transparent container and set the property.
IWDGridLayout glui =
(IWDGridLayout) UIcontainer.createLayout(IWDGridLayout.class);
glui.setColCount(2);
glui.setCellSpacing(3);
glui.setStretchedHorizontally(false);
Hope this helps,
Regards,
Vijayakhanna Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.