We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

xptaskbar resizing

Thread ID:





5845 Jul 19,2003 02:46 PM UTC Jul 28,2003 01:26 PM UTC WinForms 2
Tags: Tools
Tom Langer
Asked On July 19, 2003 02:46 PM UTC

I'm using the xp task bar, and trying to get it to SMOOTHLY handle resizing the form as items are expanded/collapsed. I don't want scrollbars in the taskbar control - so whenever an item is opened or closed, I want it to resize the xptaskbar control and the form along with it. Currently, I'm using this code in the taskbox location change event If tskbarPaymentDebugInfo.Collapsed Then XpTaskBar1.Height = (tskbarPaymentDebugInfo.Location.Y + 40) Else XpTaskBar1.Height = (tskbarPaymentDebugInfo.Location.Y + 120) End If Height = XpTaskBar1.Height + 50 This kind of works, but it's buggy - I can't get the bottom taskbar to properly resize everything. I'm guess I'm either using the wrong events - or maybe there's a property or something I can just set and it'll resize the xptaskbar for me? I've tried resizing thru a variety of methods, such as the xptaskbar sizechanged, and taskbox location change events, but just can't get the right "sequence".

Tom Langer
Replied On July 25, 2003 09:39 AM UTC

To reitterate my question.. After expanding/collapsing a taskbar item, what is the proper way to determine the TRUE height of the control.

Ramesh Praveen [Syncfusion]
Replied On July 28, 2003 01:26 PM UTC

Hi, There is an AfterAnimation event in the boxes that you should listen to. Regards, Praveen


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon