RadMessageBox Right to Left with Icon

2 posts, 1 answers
  1. ShareDocs
    ShareDocs avatar
    76 posts
    Member since:
    Oct 2012

    Posted 10 Mar 2013 Link to this post


    Hi, 
    I have a problem with the  RadMessageBox when I set it RightToLeft = true and I put and Icon like for example RadMessageIcon.Info.

    Some times works well but some times the text of the message appear under the icon and cant read it.
    It start to happen after updating to the Telerik 2013.1.220.40
    I'm working in WinForm, Visual Studio 2010

    Please take a look at the pictures attached.

    Thanks
    Iair


  2. Answer
    Anton
    Admin
    Anton avatar
    167 posts

    Posted 13 Mar 2013 Link to this post

    Hi Lior,

    Thank you for writing.

    There is an issue with measure of the size of RadMessageBox in our last release and we already have a related PITS item. You can track its status here : http://www.telerik.com/support/pits.aspx#/public/winforms/14350.

    To work around this issue, you should use the one of the following approaches to reset the instance after showing RadMessageBox:
    RadMessageBox.Show("Text");
    RadMessageBox.Instance.Dispose();
     ........................................................
    //If you are using themes, consider the following approach:
     RadMessageBox.SetThemeName("Windows7");
    RadMessageBox.Show("This is some long text that sometimes does not wrap as it should.");
    var field = typeof(RadMessageBox).GetField("radMessageBoxForm", BindingFlags.NonPublic | BindingFlags.Static);
     field.SetValue(null, null);

    I hope this information helps and please excuse us for the introduced inconvenience.

    Greetings,
    Anton
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top