2006 Aug 02 9:16 AM
Hello,
In my screen,i have a custom container. On this container i have a text edit control but i have to display it only where there is some text to be displayed.
When there is no text to be displayed, i do not create a text edit control but <b>the problem is that i get empty lines on the screen where the container</b> is present. So basically i want to hide the custom container. Does anyone know how this can be done. i tried looping thru the screen and hiding the box, but that didnt work.
Please let me know if u have any suggestions or the only way out is creating a subscreen area for the box.
REgards
Manoj.
2006 Aug 02 9:21 AM
Hi,
use split container and set the percent to zero.
or use docking container (nothing to create on the screen).
Rgd
Frédéric
(see DWDM for examples)
2006 Aug 02 9:28 AM
Frédéric
This wont work for me because i need to hide the container not the control.
Thanks
2006 Aug 02 9:33 AM
If you have something behind the container, your create a custom container, inside the container you set a split container with two new container.
The first container will contain your text edit control and the second the rest of your screen.
So if the text is empty you set the size of the first part of the split container = 0.
What is under your text edit ?
Fred