FIX. RadRibbonForm - setting the FormBorderStyle property does not take effect
When a user double-clicks the OK button at design-time, an empty event handler is created. However, this handler needs the WithEvents keyword in the Designer of the form.
If the theme of your Windows 7 is 'Windows 7 Basic' and you have a RadForm as an mdi child., when you maximize this form, you will notice that there is a gap of several pixels between the parent form title bar and the client part of the child form. This can be worked around as shown below: Public Class MDIParent Public Sub New() InitializeComponent() End Sub Dim shouldGetSavedSize As Boolean = False Dim suspendResize As Boolean = False Dim formSize As Drawing.Size = Size.Empty Private Sub RadButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadButton1.Click Dim form As RadForm = New RadForm form.MdiParent = Me form.Show() formSize = form.Size AddHandler form.Resize, AddressOf Form_Resize AddHandler form.SizeChanged, AddressOf Form_SizeChanged End Sub Private Sub Form_SizeChanged(ByVal sender As Object, ByVal e As System.EventArgs) Dim form As RadForm = DirectCast(sender, RadForm) If Not form.WindowState = FormWindowState.Maximized Then If suspendResize Then Return End If formSize = form.Size End If End Sub Private Sub Form_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Dim form As RadForm = DirectCast(sender, RadForm) If form.WindowState = FormWindowState.Maximized Then shouldGetSavedSize = True form.FormBorderStyle = Windows.Forms.FormBorderStyle.None Else If shouldGetSavedSize Then shouldGetSavedSize = False suspendResize = True form.FormBorderStyle = FormBorderStyle.Sizable form.Size = formSize suspendResize = False End If End If End Sub End Class
Setting the ShowIcon to false hides the icon. You then decide to show the icon again, and you set ShowIcon back to true. However, the icon does not appear again.
Steps to reproduce: Create & show a RadRibbonForm under Windows 8 and exception will occurred.
To reproduce: - set your windows taskbar to auto-hide. - Add RadForm to a blank solution. - Change the forms behaviour with the following one: RadRibbonFormBehavior radRibbonFormBehavior1 = new RadRibbonFormBehavior(); this.radRibbonFormBehavior1.Form = this; this.FormBehavior = this.radRibbonFormBehavior1; - When you maximize the form the taskbar won't show like in the normal case.
it seems to be when I'm deriving from RadForm the NotifyPropertyChanged Doesn't seem to work It is binding to the Text Propery of the dockwindow. what i am trying to do is bind to a propery of my class called FormText (This is not the Frm.Text but Frm.FormText) a completly diffrent property. This is not possible to do with the below code. What I am ultimelty trying to do is have a class that is derived from RadForm so i can add a BindingSource to the form and load it with data. I'm then trying to bind to the Possition and Item Count fo the BindingSource to show the user what record/how many records there are. I need to re-bind this each time the tab is changed so the user is always seeing the records for the Selected form Resolution: Scenario is not common and the issue is not related directly to our form. Since our RadForm is ISupportInitialize and in the case that the developer does not call Form EndInitialize method the Microsoft binding will reject the binding because Form IsInitialized property is false. So these methods must be called: ((System.ComponentModel.ISupportInitialize)(radForm1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(radForm1)).EndInit();
To reproduce: Add a RadForm and set its icon property. You will notice that the Form's icon is changed but it is not in the taskbar.
RadRibbonForm back stage button is missplaced when in maximized state with office2010SilverTheme Workarouond: Set the margin when the window is set to maximize. void Form1_Resize(object sender, EventArgs e) { if (this.WindowState == FormWindowState.Maximized) { this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.Margin = new Padding(3, 35, 3, 0); } else { this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.Margin = new Padding(3, 33, 3, 0); } }
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.
Workaround: set the property at run time
To reproduce: -add a RadForm and specify its Icon property; -modify Resources area on project's Properties -> Application tab in order to add Icon and manifest; -run the project and you will notice that the specified icon is displayed in the taskbar. However, Alt+Tab panel does not display the certain RadForm's icon.
FIX. RadForm - setting the CancelButton property of the form to a button named exactly CancelButton, will prevent the button click event from firing when Esc is pressed. Changing the name of the button anything else will resolve the case. Comment: This is the default beavior of the standard button and comes from .NET Framework.
When you set the FormBorderStyle property to FormBorderStyle.None, the form size defined initially is changed.
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
1. Create a new project and add a button. 2. On button click show a new RadForm by calling its ShowDialog method from another thread. You should use Invoke.
1. Create a new project with RadForm and RadGridView. 2. Handle the ScreenTipNeeded event to show screen tips in RadGridView cells. 3. Run the project and note that the first time when showing a screen tip, RadForm changes its size.
FIX. Pressing Escape does not trigger the Click event of the form's CancelButton.
FIX. RadRibbonForm - ApplicationButtonElement and QuickAccessToolBar are cut off when Aero if off and the form is maximized
Steps to reproduce. 1. Add a grid and a button to a form. 2. Set the button as the AcceptButton 3. Add a text column to the grid 4. Run the project, open a cell for edit, hit enter and the button will be clicked closing the form in the process.