Print Page | Close Window

Turn off animation

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=15788
Printed Date: 22 June 2024 at 11:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Turn off animation
Posted By: DaveB
Subject: Turn off animation
Date Posted: 06 December 2009 at 1:47am
I want to change the animation to make it faster or even to make it instantaneous.  So far I have:
 
    Set PaneNameList = DockingPaneManager.CreatePane(ID_PANE_NAMELIST, w, h, DockLeftOf, Nothing)
    PaneNameList.Title = GetMsg(13372) 'Index List
    PaneNameList.MaxTrackSize.SetSize 500, 10000
    PaneNameList.MinTrackSize.SetSize 150, 200
    PaneNameList.Options = PaneNoCloseable
 
What syntax do I use for the AutoHideAnimationDuration property to make it faster or instant?
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



Replies:
Posted By: Smucker
Date Posted: 06 December 2009 at 11:16am
If it's like MFC, to turn it off is:

DockingPaneManager.SetAnimationDelay -1, 0, 1

Parameters are delay, duration and interval. I think they're in milliseconds.




-------------
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)



Posted By: DaveB
Date Posted: 14 December 2009 at 3:10am
That doesn't work in VB6.
 
Anyone out there know the syntax to use?


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: shipwreck
Date Posted: 14 December 2009 at 3:11am
try dockingpanemanager.paintmanager.enableanimations = false.
 
Just a guess


-------------
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6


Posted By: DaveB
Date Posted: 14 December 2009 at 10:26am
Nope.  I just get: "Object doesn't support this property..."

-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: Oleg
Date Posted: 15 December 2009 at 4:55am
Hi,
 
Maybe DockingPaneManager.Options.AnimationDelay = 0 ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: DaveB
Date Posted: 15 December 2009 at 7:00pm
That works perfectly.  Thanks Oleg.

-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net