Print Page | Close Window

Prevent MiniToolbar Fade Away

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14826
Printed Date: 06 October 2024 at 8:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Prevent MiniToolbar Fade Away
Posted By: jpbro
Subject: Prevent MiniToolbar Fade Away
Date Posted: 24 July 2009 at 9:37pm
Is there a way to prevent a MiniToolbar from fading out as the mouse gets further away? I want to use MiniToolbar.PopupMiniToolbar to show the minitoolbar in the top left corner of a ReportControl row and leave it there the mouse moves off of the row, then use Minitoolbar.Visible = False the hide it. I just never want it to disappear on its own.

I've tried using PopupContextMenu instead, but the context menu is modal compared to the rest of the CommandBar controls (they don't respond to mouseovers when the context menu is visible, unlike when using PopupMiniToolbar), and I can't seem to hide the toolbar in this mode with .Visible = False either, so that is a no go.

If this isn't currently an option, can it be added as a feature?

Thanks for any feedback.


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




Replies:
Posted By: jpbro
Date Posted: 24 July 2009 at 10:39pm
After further experimentation, I can live without changing the fade-ability of the Minitoolbar. Unfortunately, I realize that I was mistaken about hiding a  MiniToolbar that was made visible with PopupMiniToolbar by setting its .Visible property to False (this does nothing).

Is there a way to dismiss a MiniToolbar programmatically that has been shown with PopupMiniToolbar? I tried MiniToolbar.Delete but I get an "Object doesn't support this property or method (438)" error.

Thanks.


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: jpbro
Date Posted: 24 July 2009 at 10:48pm
I've also tried the following to dismiss a MiniToolbar without  success:

CloseWindow API on MiniToolbar.hwnd
Me.CommandBars1.ClosePopups     < I really though this would work


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: jpbro
Date Posted: 24 July 2009 at 11:37pm
Okay, I lied...CloseWindow works I was just calling it before the Hwnd was available. Sorry for the post-a-thon.

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




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