Print Page | Close Window

BUG with toolbar?

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=16234
Printed Date: 06 October 2024 at 11:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG with toolbar?
Posted By: skiman
Subject: BUG with toolbar?
Date Posted: 20 February 2010 at 6:53am
Hi,
 
In another thread the following toolbar was created, to have different kind of buttons on a toolbar. The toolbar below is the result. However, this is only working on a floating toolbar, and isn't working when the toolbar is docked to the left or right. At that moment all the buttons are under each other.
 
Is this a bug? I can't imagine this behaviour is wanted? Is there a solution for this?
 
Regards,
Chris.
 


-------------
ABO Service



Replies:
Posted By: Oleg
Date Posted: 22 February 2010 at 3:28am
Hi,
 
Its expected behavior, and afraid there is no style to change it for ActiveX version.


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


Posted By: skiman
Date Posted: 22 February 2010 at 1:34pm
Hi,
 
This means that the following is not possible?
 
It looks to me that this should be rather basic?
 
Regards,
Chris.


-------------
ABO Service


Posted By: Oleg
Date Posted: 23 February 2010 at 1:12am
Hi,
 
Its possible for Floating toolbars only :(


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


Posted By: skiman
Date Posted: 23 February 2010 at 3:06pm
Hi,
 
This is rather unexpected. :-(
 
I also can't find to position the floating bar. I found the left, top and getrect() to retrieve values about the position. I can't find a method to SET these. If I could set the position of a floating toolbar, I could use it that way.
 
Would it be possible to use a dialogbar as parent for a toolbar? The dialog bar has a 'position' and a 'size' tha can be set.
 
Or is there a way to add something to a toolbar. I was thinking of a 'gallery' for the small buttons? Could that work?
 
Regards,
Chris


-------------
ABO Service


Posted By: Mr.Den
Date Posted: 25 February 2010 at 11:25am
Originally posted by skiman skiman wrote:

I also can't find to position the floating bar. I found the left, top and getrect() to retrieve values about the position. I can't find a method to SET these. If I could set the position of a floating toolbar, I could use it that way.
 
Try:
 
Dim obBar As CommandBar
    
    For Each obBar In CommandBars
       
        If obBar.BarID = ID_BAR_TEST Then
            
            CommandBars.DockToolBar obBar, 900, 900, xtpBarFloating
           
        End If
       
    Next


-------------
Product: Xtreme SuitePro (ActiveX) version 16.3.1

Platform: Windows 7 Professional (64bit) - SP 1

Language: Visual Basic 6.0 SP 6


Posted By: skiman
Date Posted: 25 February 2010 at 12:28pm
Hi,

Thanks for the suggestion. I will check this.

Regards,
Chris.


-------------
ABO Service



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