Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Splitter Container

Former Member
0 Likes
682

Hi experts,

I'm trying to code a dialog program similar to me22n transaction with left side(doc list) info and right side info(doc details) and should be able to close the left screen with a button.

How do i proceed to get this kind of framework,any classes,events to close and then show the left screen ,etc..).

should i start with cl_gui_splitter_container.

& cl_gui_container .

Any help is appreciated.

Thanks,

dan

Edited by: Dan cosio on Jan 18, 2008 12:39 AM

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
641

Actually, that is a docking container in ME22N. Check the examples in transaction DWDM, check the docking container example. Basicially, you just need to remember the state(on or off) and if on, then create the control in the PBO, if off, don't create it.

Regards,

Rich Heilman

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
642

Actually, that is a docking container in ME22N. Check the examples in transaction DWDM, check the docking container example. Basicially, you just need to remember the state(on or off) and if on, then create the control in the PBO, if off, don't create it.

Regards,

Rich Heilman

Read only

0 Likes
641

Thanks Rich, I'm looking for a method to set a little 'X' push button to hide and bring it back.What is that state on/off you are referring to,is that an event/method?..

Thanks again,

dan.

Read only

0 Likes
641

Hi Dan. basically now that you understand that it is a docking container, next you need to embed a splitter container inside this docking, the top container's width will be just big enough to have icons in it, and the bottom container will be the rest of the docking container, then you will implement a toolbar control in this top portion. There you will put your "X" icon. The state is simply, "is the docking container currently hidden or not" This can be a simple variable in your program.

Regards,

Rich Heilman

Read only

0 Likes
641

Hi Rich,

Thanks for the tips

dan.