Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted

I've got a panel that moves across the screen with the mousedown event. Everything works well except when moving over a listview control. The panel moves behind the listview and out of sight. Is there a way for the panel to move over the listview and remain in sight?

 

Thanks

Dan

Member, in good standing, of the elite fraternity of mentally challenged programmers.

 

Dolphins Software

  • *Experts*
Posted

Hi VolteFace,

 

I did that and was unsuccessful.

 

But, that gave me an idea...If I create the panel in the listview instead of outside of it, it works...hmmmm?

 

Thanks

Dan

Member, in good standing, of the elite fraternity of mentally challenged programmers.

 

Dolphins Software

  • *Experts*
Posted
It's probably just because you created the panel and then the listview, so the listview takes Z-Order priority. If you right clicked on the panel and clicked "Bring to Front" it would probably have fixed it.
  • *Experts*
Posted

Nope, that won't do it. Evidently it must be created in the listview only. Moving it, in designer mode, to another panel or group box and bringing it to front still puts it behind the listview in run time. Sending the listview to back also has no effect. This is definately a strange one.

 

Thanks

Dan

Member, in good standing, of the elite fraternity of mentally challenged programmers.

 

Dolphins Software

  • *Experts*
Posted
I don't understand what you mean by "in" the listview. ListView controls are not containers, and so cannot contain other controls in the designer. Do you mean the ListView is inside the Panel?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...