New RADForm - How to use?

9 posts, 0 answers
  1. Thomas Peifer
    Thomas Peifer avatar
    2 posts
    Member since:
    Feb 2008

    Posted 17 Apr 2008 Link to this post

    Hallo,

    i have a problem. Today i downloaded the Q1-2008-Version of Telerik RADcontrols for Winforms. All new features are available in the toolbox of VS2008 (Aqua Theme, Desert Theme, RADcarousel...), but i can't find the RADForm. How can i use it?

    The example ist not written in Visual Basic :-( , the help file do not contain any about RADForm :-(. 

    Please help!

    Thomas Peifer
    thomas.peifer@topeneu.de

      
  2. Alex Peachey
    Alex Peachey avatar
    56 posts
    Member since:
    May 2006

    Posted 17 Apr 2008 Link to this post

    Well, there are no docs available yet that I can get my hands on, but from what I can tell it works the same way the ShapedForm works.

    Basically, just create a new windows form and then in the code, change it so instead of extending Form, extend RadForm.

    Now, what I'd love to know is if we should still used ShapedForm, or if this is a switch over to a new item and a move away from ShapedForm.

    If both are to be used, what is the recommend use cases? That is to say, when should we use one and when should we use the other.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 21 Apr 2008 Link to this post

    Hello Alex Peachey,

    Thank you for writing.

    Please find detailed information about RadForm in the following KB article:
    http://www.telerik.com/support/kb/article/b454K-hta-b454T-ckd-b454c-ckd.aspx

    If you have additional questions, do not hesitate to contact me again.

    Greetings,
    Martin Vasilev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Thomas Peifer
    Thomas Peifer avatar
    2 posts
    Member since:
    Feb 2008

    Posted 24 Apr 2008 Link to this post

    Hallo,

    i have found the problem: in documentation you can read

       ... Telerik.Wincontrols.UI.RadForm ...

    but the example in c# shows the right way:

        Telerik.Wincontrols.RadForm

    Yeah. I hope, the RadRibbonBar will be the next step.

    Greetinx from Germany
    Thomas Peifer
  6. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 25 Apr 2008 Link to this post

    Hi Thomas Peifer,

    Thank you for bringing our attention to this mistake.

    You are right. The correct code is:
     
    public partial class Form1 : Telerik.WinControls.RadForm 
     
    We will fix our documentation immediately. 

    We will definitely add RadRibbonForm to our Rad Controls suite, but there is much work to do before the public version is ready. That is the reason that I cannot give you a time frame when the RadRibbonForm will be available. To learn more on our future plans please visit regularly our Roadmap by following the link below:
    http://www.telerik.com/products/winforms/roadmap.aspx

    I have updated your Telerik points for noticing the typo. If you have other questions, do not hesitate to contact me again.

     
    All the best,
    Martin Vasilev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Clint MacDonald
    Clint MacDonald avatar
    32 posts
    Member since:
    May 2005

    Posted 14 May 2008 Link to this post

    In the documentation quoted above...the VB inherits statement is incorrect.....

    It says "Inherits Telerik.WinControls.UI.RadForm"
    when it should say "Inherits Telerik.WinControls.RadForm"

    Thanks
    Clint
  8. Nikolay Dobrev
    Admin
    Nikolay Dobrev avatar
    201 posts

    Posted 15 May 2008 Link to this post

    Hello Clint,

    It's fixed. Thanks for reporting it to us. Your Telerik points have been updated as well.

    Greetings,
    Nikolay Dobrev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. ton_cut345
    ton_cut345 avatar
    1 posts
    Member since:
    Jul 2006

    Posted 26 Jan 2009 Link to this post

    This is the code on my form1.vb

    Imports Telerik.WinControls
    Public Class Form1
        Inherits Telerik.WinControls.radform
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        End Sub
    End Class

    error on Inherits Telerik.WinControls.radform >> says its not defined.

    I wan to use either aqua theme or desert theme



  10. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 29 Jan 2009 Link to this post

    Hello Thomas,

    Thank you for writing.

    You must have references to Telerik.WinControls.dll, Telerik.Common and Telerik.WinControls.UI. Also you need to change the Inherits part of your code to RadForm in both your vb file and designer.vb file.

    Assuming that you have a Form1 class the beginning of the vb file should look like this:

    Imports Telerik.WinControls  
     
    Public Class Form1  
        Inherits RadForm 
    The beginning of the designer.vb file should look like this:
    Imports Telerik.WinControls  
    <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _  
    Partial Class Form1  
        Inherits RadForm 

    You only need to make sure that you have the references to the assemblies and that both files inherit from RadForm.

    To use the themes you also need to add same references. In your particular case these are
    Telerik.WinControls.Themes.Aqua.dll and Telerik.WinControls.Themes.Desert.dll.

    I noticed that you are using a very old version of our controls. I suggest upgrading to get the benefits of the numerous improvements we have made since Q1.

    I hope this is helpful. Please write back if you need further assistance.

    Greetings,
    Victor
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for WinForms is Visual Studio 2017 Ready