Forms question

shannanl

Newcomer
Joined
Dec 28, 2005
Messages
2
I am new to .net and vb2005. I am working on a database program that uses a datagridview and several list boxes, etc. In old VB6 I used the .show and .zorder to show a list box and set it to front. I understand that .bring to front is what we use now. My problem is that it seems whenever I move some controls around on the page and then back to their original positions (during design), they may or may not show up when I run the program. An example; I have a large data grid view on the screen and a couple of list boxes that are not visible until the user clicks on a button. I set the list boxes to visible = true and bring to front. If I move the list boxes around to work on some other things and then back and run the program, sometimes its not visible even when I click the button to make it visible and set it to front. I noticed this on some other controls. Is it docking these to another item?

Thanks,

Shannan
 
Back
Top