Prevent MiniToolbar Fade Away |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1354 |
Post Options
Thanks(0)
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 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1354 |
Post Options
Thanks(0)
|
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 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1354 |
Post Options
Thanks(0)
|
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 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1354 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |