To reproduce: RadMessageBox.Instance.Font = new Font("Segoe UI", 10); foreach (Control c in RadMessageBox.Instance.Controls) { c.Font = new Font("Segoe UI", 14); } RadMessageBox.SetThemeName("TelerikMetro"); RadMessageBox.Show("test", "test2", MessageBoxButtons.YesNoCancel, RadMessageIcon.Error, MessageBoxDefaultButton.Button2); WORKAROUND: use smaller font size
To reproduce: - Set RadForm.FormBorderStyle to FixedDialog - Set some Icon to the form - Run and the icon is not visible With the standard form, the icon is visible. Workaround: use FormBorderStyle = FixedSingle
To reproduce: Create a RadForm set Maxmize/Minimize box to false. Run it and try to drag the form by clicking on where the buttons used to be. Workaround: void MainForm_Load(object sender, EventArgs e) { this.FormElement.TitleBar.MaximizeButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; this.FormElement.TitleBar.MinimizeButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; }
Create a custom theme starting from Aqua theme. Change the Font for RadLabelElement-TextPrimitive to "Microsoft Sans Serif, 10pt". Save the theme and apply it to the entire application. Show several times a RadMessageBox with long text. The first time the RadMessageBox is sized correcly to its content. Each next showing, cuts off the text. Workaround: the possible workaround that I can suggest is to dispose the RadMessageBox instance after showing it: Private Sub RadButton1_Click(sender As Object, e As EventArgs) Handles RadButton1.Click RadMessageBox.Show(Me, "If you have some veeeeery long sample text, the messagebox " & _ "should be resized according to its content.", "Caption", MessageBoxButtons.OK, My.Resources.image) RadMessageBox.Instance.Dispose() End Sub
Form command buttons incorrectly become visible in the following scenario: 1. Create a new Form. 2. Make the Form inherit from the RadRibbonForm class, or use the RadRibbonForm behavior. 3. Launch the application to display the new Form. 4. Click a few pixels below the Close, Maximize or Minimize buttons. 5. White buttons will appear with the same functionality as the Close, Maximize and Minimize buttons.
Add the ability to show the control where the IWin32Window owner has different handle.
Please run the sample project on 100% and 150% DPI scaling. You will notice that with 100% the shown form is centered to its parent, but with 150% it is shifted:
Dear support,
i have a RadForm and custom theme.
To reproduce the problem:
1. Configure 2. montior to have 200% Scale (Monitor2).
2. Start the solution on your main Monitor1 (with 100% Scale)
3. Click on button "radbutton1".
4. Move the shown RadForm1 from Monitor1 to Monitor2 and release it. The form will scale automatically.
5. Now move the RadForm1 back to the main Monitor1
Now you can see the effect from Form.png.
What is causing it and how to remove it?
The problem has some connection with the Anchor options from radButton1 and radButton2.
If i set them to "Top, Left", then the effect does not appear, but this way i have to set their location manually, or is there other option?
Regards,
Stoyan
When the form border style is set to none the form still has minimum width.
Dear Admins.
I'm developing an application which have Parent (MDI) and some child forms.
Using Telerik UI for WinForms R2 2019 SP1.
Code for Opening the Form.
01.
private
void
MnuItemSuppliers_Click(
object
sender, EventArgs e)
02.
{
03.
if
(!IsFormOpen(
typeof
(frmSupplierList)))
04.
{
05.
CloseChildForm();
06.
frmSupplierList m_frmListSupplier =
new
frmSupplierList
07.
{
08.
Width =
this
.Width,
09.
Height =
this
.Height,
10.
MdiParent =
this
,
11.
MaximizeBox =
false
,
12.
MinimizeBox =
false
,
13.
ControlBox =
false
,
14.
WindowState = FormWindowState.Maximized
15.
};
16.
m_frmListSupplier.Show();
17.
}
18.
}
But Still i can see the ControlBox and Minimize and Maximize Buttons on the Top right Corner.
Image Attached.
When i Use the Same Coding and Properties using Standard Windows Forms. It behave like as required.
Please help what is wrong with this.
Form goes under windows taskbar based on following conditions.
WindowState = Maximized
MinimizeBox = false
MaximizeBox = false
Also when there is no icon (ShowIcon = false) Form text, first letter is clipped.
When you are navigating repeatedly between the buttons in RadMessageBox using the arrow keys, at one of the steps none of the buttons is focused.
When HTML-formatted text is displayed in RadMessageBox, it is cut off on the right.
To reproduce: run the sample project. It ends up leaving significant blank space on the right and the bottom, whereas the normal MS Form does NOT do this and works right. Workaround: in the Load event you can adjust the size with 10/15 px by setting the MaximumSize: private void Form1_Load(object sender, EventArgs e) { this.MaximumSize = new Size(this.Size.Width - 15, this.Size.Height - 10); }
To reproduce: public Form1() { InitializeComponent(); RadMessageBox.Instance.AutoSize = true; } private void radButton1_Click(object sender, EventArgs e) { string msg = string.Format("Test", (sender as RadButton).Name); RadMessageBox.Show(msg, "Error"); } Note that the size of RadMessageBox is adjusted automatically to display the whole content. Hence, it is not necessary to set the RadMessageBox.Instance.AutoSize property to true.
Option to show RadMessageBox in task bar Resolution: You can use the following code snippet show the message box in the taskbar: RadMessageBox.Instance.ShowInTaskbar = true;
If RadForm is an MDI child and it initially appears as Maximized, there is some space left between the bottom border of the child form and the bottom border of the parent form. In order to reprodue the issue, you should also have a RadMenu docked to top that has size bigger than its default size.
How to reproduce: add a RadRibbonForm and set its MaximizeBox, MinimizeBox properties to false. Set the HelpButton property of the form to true and change its Icon. You will notice that the designer in Visual Studio has not updated. Workaround: use the element hierarchy editor and manually change the visibility of the elements.
To reproduce: on some Windows 10 machines the title bar's text is not rendered clearly. Workaround: 1. Set the RadForm.AllowTheming property to false. 2. In the form's Load event change the TextRenderingHint of the caption text primitive to AntiAliasGridFit: TextPrimitive tp = this.radRibbonBar2.RibbonBarElement.RibbonCaption.CaptionLayout.CaptionTextElement as TextPrimitive; tp.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;