Mouse hover issue in child forms

2 posts, 0 answers
  1. Tahir
    Tahir avatar
    2 posts
    Member since:
    Aug 2012

    Posted 16 Aug 2012 Link to this post


    I have used CommandBar in my C# project to create a tool bar. Tool bar is created in a base class that is extended by several child classes. Child classes are expected to show/hide and/or enable/disable CommandBarButtons in the tool bar that's why the tool bar buttons are declared protected. When making a CommandBarButton object 'protected' it is not showing mouse hover effect on child form. I was able to reproduce the issue in a sample project but unable to attached the project here.
  2. Stefan
    Stefan avatar
    2911 posts

    Posted 21 Aug 2012 Link to this post

    Hi Tahir,

    Thank you for writing.

    I managed to reproduce the issue according to your description. When the buttons in RadCommandBar are protected and the form is inherited in the child form all buttons settings are serialized, thus the buttons have those settings as local settings causing them to loose their theme settings. I am logging this issue in our Public Issue Tracking System and we will address it in a future release. Feel free to add your vote for the issue here:

    The work around is to make the command bar protected and make the buttons private again. Then expose the buttons as properties of the main form so you can access them from the child forms. Unfortunately, you will not be able to work with them in design time of the child forms.

    Your Telerik Points have been updated for this report.

    Please note, that forum threads allow only images to be attached (gif, jpg, jpeg, png). If you need to attach other files, feel free to open a support ticket where zip files are allowed.

    I hope that you find this information useful.
    All the best,
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top