Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Prevent MiniToolbar Fade Away
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Prevent MiniToolbar Fade Away

 Post Reply Post Reply
Author
Message
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Topic: Prevent MiniToolbar Fade Away
    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

Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.