This is a migrated thread and some comments may be shown as answers.

RadMessageBox Right to Left with Icon

1 Answer 144 Views
MessageBox
This is a migrated thread and some comments may be shown as answers.
ShareDocs
Top achievements
Rank 1
ShareDocs asked on 10 Mar 2013, 09:21 AM

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


1 Answer, 1 is accepted

Sort by
0
Accepted
Anton
Telerik team
answered on 13 Mar 2013, 01:23 PM
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.
Tags
MessageBox
Asked by
ShareDocs
Top achievements
Rank 1
Answers by
Anton
Telerik team
Share this question
or