Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - BUG with toolbar?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BUG with toolbar?

 Post Reply Post Reply
Author
Message
skiman View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Location: Belgium
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote skiman Quote  Post ReplyReply Direct Link To This Post Topic: BUG with toolbar?
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
skiman View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Location: Belgium
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote skiman Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2010 at 1:12am
Hi,
 
Its possible for Floating toolbars only :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
skiman View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Location: Belgium
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote skiman Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Mr.Den View Drop Down
Groupie
Groupie
Avatar

Joined: 26 August 2007
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mr.Den Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
skiman View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Location: Belgium
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote skiman Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2010 at 12:28pm
Hi,

Thanks for the suggestion. I will check this.

Regards,
Chris.
ABO Service
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.172 seconds.