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

Vertical floating toolbar

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


Joined: 26 November 2008
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote Micca Quote  Post ReplyReply Direct Link To This Post Topic: Vertical floating toolbar
    Posted: 12 October 2016 at 8:46pm
hi,

is it possible to change the orientation of a floating toolbar from horizontal (buttons from left to right) to vertical (button from top to the bottom) but with horizontal text orientation?

Micca

---------------------

Product: Xtreme Commandbars (ActiveX) Version 17.2

Platform: Win7 64bit

Language: Visual Basic 6.0 SP6
Back to Top
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2016 at 2:53am
Set Position property to xtpBarLeft
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8
Back to Top
Micca View Drop Down
Groupie
Groupie


Joined: 26 November 2008
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote Micca Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2016 at 4:34am
xtpBarLeft docks the toolbar to the left edge and it changes the text orientation to vertical.

I need a floating toolbar with vertical aligned buttons (from the top to the bottom) and horizontal aligned icons/text...

Example:


Micca

---------------------

Product: Xtreme Commandbars (ActiveX) Version 17.2

Platform: Win7 64bit

Language: Visual Basic 6.0 SP6
Back to Top
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2016 at 9:04am
I know what is a vertical toolbar... LOL




I use the next code with success:


        Dim cToolbarLeft As CommandBar

        With CommandBars1
            .EnableCustomization False
            .Options.ShowExpandButtonAlways = False
            Set cToolbarLeft = .Add("ToolbarLeft", xtpBarTop)
        End With

        With cToolbarLeft
            .ShowTextBelowIcons = True
            .SetIconSize 16, 16
            .ShowGripper = False
            .Customizable = False
            .EnableDocking xtpFlagStretched
            .Closeable = False
            .Position = xtpBarLeft
            .TextOrientation = xtpBarTextAuto
        End With

gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8
Back to Top
Micca View Drop Down
Groupie
Groupie


Joined: 26 November 2008
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote Micca Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2016 at 9:34am
Your example creats a fixed toolbar at the left edge of the window and not a floating toolbar, or?
I need a floating+vertical toolbar that the user can drag around...
Micca

---------------------

Product: Xtreme Commandbars (ActiveX) Version 17.2

Platform: Win7 64bit

Language: Visual Basic 6.0 SP6
Back to Top
Carlos Rocha View Drop Down
Groupie
Groupie


Joined: 11 February 2008
Location: Portugal
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carlos Rocha Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2016 at 4:38pm
I think what you need is a DialogBar with as many toolbars as the options you want, all of them docked to the top. I managed to do this to create a SideBar.
SuitePro 20.3.0
OS: Windows 10
Language: Visual Objects 2.8
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.141 seconds.