Results 1 to 40 of 91

Thread: Mouseover highlights label text - how?

Threaded View

  1. #28
    Addicted Member
    Join Date
    Jul 2007
    Posts
    146

    Re: Mouseover highlights label text - how?

    Quote Originally Posted by Vero44
    Thanks Jottum, will try to break it over the next few days ;-)

    How do I remove the user control and add the latest to my project. Thought I managed to do it before but can't seem to do it now without creating a new project.
    Hi,

    I hope your silence isn't a bad sign.

    I don't know if you ran into the small issues that still existed in the previous version I've posted, but I've found a few while cleaning up the code for the final version.

    I've made a few improvements, for instance when the MenuLabel has a Floating image, the control only responses to mouse events, when it is over the "box" part. It looked rather silly you could click on a part that appeared to be the form and the Menulabel got pressed. This adds to the illusion the image rests partially on the control. The only thing that still happens now, is that the MenuLabel will get the focus.

    I also moved the actual execution of the mouse click to the MouseUp event, this way you can drag the mouse pointer away from the control without a click. I think that makes more sense. I removed the double code that was created when I added the Floating image property.

    I've been working on the demo project too, the interface looks much better now and I’ve cleaned up the code to make it more readable, and added more comments. I also added simple help on the Properties Demo page, hopefully that makes a few things clearer.

    Unless you come up with anything that needs to be changed or fixed, I will consider this project as finished. I’ll attach the final version and will wait a couple of days before adding it to the codebank.

    Enjoy,
    Last edited by Jottum; Mar 12th, 2008 at 03:20 PM.
    Jottum™
    XpVistaControls , (transparent) usercontrols for XP, Vista and 7 with W2K legacy support.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width