radtitlebar issue

11 posts, 0 answers
  1. Mateo
    Mateo avatar
    17 posts
    Member since:
    Aug 2007

    Posted 29 Aug 2007 Link to this post

    I'm developing a mdi application and use shapedForm for child form with a radtitlebar inside it.

    The problem is when i drag, minimize or close a child form it drag, minimize and close the parent form?

    What is the correct way to use radtitlebar?

    Thanks
  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 30 Aug 2007 Link to this post

    This issue with the current version of RadTitleBar has been fixed. You can download the new, updated version from here.

    Note that this is a trial version. If you are a customer, please open a support ticket and request the Dev version.

     
    Best wishes,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Atle
    Atle avatar
    13 posts
    Member since:
    Dec 2007

    Posted 14 Dec 2007 Link to this post

    I'm using Q2_2007_SP1_trial_setup and also have a problem with drag, minimize and close with a RadTitleBar. I have a Shapedform with a RadTitleBar that is added to a panel inside my main application. I'm not using MDI since I want several tabbed panels to contain Child-forms. TopLevel is set to false on the ShapedForms. When I try to drag or minimize the ShapedForm with the RadTitleBar, the parentform is dragged and minimized instead. Wasn't this issue solved already?
    If I remove the RadTitleBar and set the FormBorderStyle to sizable on the ShapedForm, I can drag it inside my application, without dragging the main application itself.
  5. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 14 Dec 2007 Link to this post

    Hello Atle,

    Thank you for writing.

    Yes, we fixed the issue with the RadTitleBar when used in MDI scenarios. RadTitleBar uses the FindForm method in order to find the top level window, which needs resizing or minimizing. We made this in order to enable placing RadTitleBar inside panels and keeping the possibility to resize the main form. In your case you are using a Form with the TopLevel property set to false, which is a new scenario for us. We found a solution and it will be available in our upcoming release next week. We are sorry for not being able to help you right away.

    Don't hesitate to contact us if you have other questions.

     
    All the best,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Atle
    Atle avatar
    13 posts
    Member since:
    Dec 2007

    Posted 03 Jan 2008 Link to this post

    The RadTitleBar now works on forms with TopLevel set to False, except when I try to Maximize. It does NOT maximize to the size of it's parent (panel) but to the size that the application would maximize to...

    Another thing I noticed is that when I minimize and the form is a ShapedForm with e.g RoundRectShape(10), the minimized form is blank. Otherwise it contains the title as it should.
    I can work around this by catching the minimize event and doing "this.Shape = null;".
  7. Atle
    Atle avatar
    13 posts
    Member since:
    Dec 2007

    Posted 03 Jan 2008 Link to this post

    Another thing. The RadTitleBar has a ContextMenu. Do I have to implement it's behavior myself? Nothing happens when I rightclick and choose Minimize, Maximize, Move etc...
  8. Kiril
    Admin
    Kiril avatar
    158 posts

    Posted 03 Jan 2008 Link to this post

    Hello Atle,

    Thank you for bringing this issue to our attention.

    For the time being, this functionality is not completely implemented. You can subscribe to the Click events of the items in the context menu to implement your custom behaviors. This functionality will be available in Service Pack 1, which will be released next month.

    Please contact us with any other questions you might have.

    Kind regards,
    Kiril
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Doga
    Doga avatar
    1 posts
    Member since:
    Jan 2008

    Posted 23 Jan 2008 Link to this post

    Hi,

    I am having trouble when i set  Form's border style to NONE and Dock my radTitleBar to topmost on my form.The problem is altough form border style is set to none radTitleBar allows me to resize the form.

    Thanks.
  10. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 24 Jan 2008 Link to this post

    Hi Doga,

    Thank you for writing.

    Unfortunately, there is an issue with the ShapedForm. We will address it in our upcoming release Q1 2008. You can place the following code inside your Form in order to workaround the issue:

    protected override int GetHitTest(Point point) 
         return 2; 

    Don't hesitate to contact us if you have other questions.

    Greetings,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  11. Atle
    Atle avatar
    13 posts
    Member since:
    Dec 2007

    Posted 04 Jun 2008 Link to this post

    I posted two posts on january 3, but I never got a respone to my first post only my second....

    Could you please respond to this:
    The RadTitleBar now works on forms with TopLevel set to False, except when I try to Maximize. It does NOT maximize to the size of it's parent (panel) but to the size that the application would maximize to...

    Another thing I noticed is that when I minimize and the form is a ShapedForm with e.g RoundRectShape(10), the minimized form is blank. Otherwise it contains the title as it should.
    I can work around this by catching the minimize event and doing "this.Shape = null;".
  12. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 04 Jun 2008 Link to this post

    Hello Atle,

    Thank you for getting back to us.

    RadTitleBar is designed to work with top-level windows. There may be different side effects when it is used with forms that are not top-level. Actually, you are the first customer who expects this functionality. If other customers need the same behavior, we will consider implementing it in one of our upcoming releases.

    If you need further assistance do not hesitate to write.

    All the best,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for WinForms is Visual Studio 2017 Ready