Hi,
I am trialing version 2020.2.504.40 from 2017.1.221.40 and have found an issue converting my current project. Before upgrading I need to get this resolved if you could help please?
If you:
I have a monitor of 1920x1080. When the form is resized it shows a size of 1934x1094. I have tried setting Me.AllowTheming=False (no avail) and also tried in form Properties > FormBehaviour > AllowTheming=False (but to no avail).
The form size works as expected in 2017.1.221.40.
Kind regards,
Matt
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).
Hi Dess,
Thank you for trying to come up with a solution, however my form can not be TopMost due to the fact our customers open File Explorer etc contantly - given this they would never be able to see the File Explorer window.
I presume this is an issue that isn't going to be a quick fix or to find a suitable workaround...
The only other option is for me to use Windows Forms instead of Telerik Forms in this instanse. Do you know of a quick way to convert Telerik Forms back to Windows Forms as I have about 19 forms to convert? I have tried simply changing Inherits:
Inherits Telerik.WinControls.UI.RadForm > Inherits System.Windows.Forms.Form
This however comes up with the following error (any help would be appreciated):
Sub New()
InitializeComponent()
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
Me.StartPosition = FormStartPosition.Manual
Me.Location = New Point(0, 0)
Me.TopMost = True
Me.Size = Screen.PrimaryScreen.Bounds.Size
Me.MaximumSize = Screen.PrimaryScreen.Bounds.Size
'Me.WindowState = FormWindowState.Maximized
End Sub
I have attached my sample project for your reference.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).
Hi Dess,
Thank you for the workaround however this doesn't work for my project.
If I set the MaximumSize = New Size(1920,1080) then maximize the form as normal, for some reason once this is done the screen automatically sets me.Top = -7 and me.Left = -7 (me.Width and me.Height is correct now) but therefore creates an edge around the form on the right and bottom. Due to the fact the form is Maximized you are obviously unable to set me.Top = 0 and me.Left = 0 as they keep reverting to -7
Furthermore the form doesn't take over the whole area and still shows the TaskBar (see below)
Can you sugeest something else please?
Kind regards,
Matt.
Currently, the possible solution that I can suggest is to specify the MaximumSize of the RadForm.
Should you have further questions please let me know.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi,
Thanks for your reply however I have tried everything from the links you provided but nothing is setting the form width and height to the correct 1920x1080, it always comes out at 1934x1094.
Furthermore, my Scale and Layout is set to 100% so that's not an issue (as shown below).
I've even tried to add a form to the FileExplorer sample Telerik provide to do the same but again it doesn't work.
If you are able to open a new project, set a form with no frame, maximized etc and the form to be the correct size - can you provide me with the code to do so please. Changing the manifest file config files isn't working.
I understand having the FormBorderStyle.None, is expected to occupy the entire monitor's space and doesn't allow resizing. That is why I have it so the users can't resize or minimize the application, thus it is imperative to get this working if I am to upgrade from 2017.
Kind regards,
Matt
Hello, Matt,
If the form is maximized and with FormBorderStyle.None, it is expected to occupy the entire monitor's space and doesn't allow resizing.Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).