Question listview in Panel Problem

PatelNehal4u

Active member
Joined
Apr 6, 2009
Messages
25
Programming Experience
1-3
I am using a textbox which handle the name of the employee and when it get focus i am using a listview with detail view which shows all available employees and user have to select any of them. I am using all this control in a panel, unfortunately listview need more size then panel, and i cannot increase the size of panel. But placing listview inside the panel make its child control and hide the half list view. Is there any way that i can show full list view control under the textbox?
 
A child control cannot be visible beyond the bounds of its container so if the ListView needs to be bigger than the Panel then you can't put the ListView in the Panel. You'll just have to put it on the form instead. The best way to do that is to open the Document Outline window (Ctrl+Alt+T) and drag the ListView node out of the Panel node and into the form node. If the Panel then shows over the top of the ListView you can right-click the listview and select Bring to Front, or Send to Back on the Panel.
 
Back
Top