C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2722
Number of posts: 5749

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
bring ImageLabel to foreground while it is being dragged around Posted by meschian on 9 Jun 2003 at 10:55 PM
Given a set of ImageLabels on a panel, I want to be able to drag any of them around inside the panel. However, when any one of the images is being dragged, it must be fully visible...in other words, the image must appear on top of all other images when being dragged around (it needs to have highest priority). Once the image is released, it needs to go back to it's original priority (above some pictures, and underneath others...depending on the order in which they where added to the panel).
If anyone can help me with this I would really appreciate it.
Thanks in advance,
Lisa ;)

Report
Re: bring ImageLabel to foreground while it is being dragged around Posted by Brutes on 2 Jul 2003 at 2:31 AM
Hi Lisa.

You have to set the z-order of the image one hire than the other images.
Windows uses the z-order to put one component ontop of another.

Start here:

http://www.manning.com/ao/readforum.html?forum=wfpao&readthread=275



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.