Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Access 2007 Style
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Access 2007 Style

 Post Reply Post Reply
Author
Message
RedPsyrus View Drop Down
Groupie
Groupie
Avatar

Joined: 17 November 2008
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote RedPsyrus Quote  Post ReplyReply Direct Link To This Post Topic: Access 2007 Style
    Posted: 21 October 2009 at 6:32pm
Hi, every body
I have make the style of access 2007 using bv.net 9
but my problem that how I can set alignment of items in bottom
and how I can resize the control with the form

here is the simple
uploads/20091021_183049_Style_Access_20.zip

can some body help me
thanks
I'm using visual studio 2008 pro and codejock 12.1.1
Back to Top
RedPsyrus View Drop Down
Groupie
Groupie
Avatar

Joined: 17 November 2008
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote RedPsyrus Quote  Post ReplyReply Direct Link To This Post Posted: 22 October 2009 at 4:09am
no help...!
I'm using visual studio 2008 pro and codejock 12.1.1
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 October 2009 at 6:40am
Hi,
 
For example you can update Height and Width of Gallery control:
 

Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Resize

On Error Resume Next

CommandBars(2).Controls(1).Height = Me.ClientSize.Height - 10

CommandBars(2).Controls(1).Width = Me.ClientSize.Width - 10

End Sub

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
RedPsyrus View Drop Down
Groupie
Groupie
Avatar

Joined: 17 November 2008
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote RedPsyrus Quote  Post ReplyReply Direct Link To This Post Posted: 22 October 2009 at 7:14am
Hi,,
thanks Oleg
how about the alignment of caption item?!!
the same problem for the alignment image
in the same simple  I try this:

        With GalleryStyles
            .Width = 504
            .Height = 400
            .SetItemsMargin(5, 5, 5, 5)
            .ShowBorders = True
            .ShowScrollBar = True

            .Style = XTPButtonStyle.xtpButtonIconAndCaptionBelow
            .Resizable = XtremeCommandBars.XTPGalleryResizable.xtpAllowResizeHeight Or XtremeCommandBars.XTPGalleryResizable.xtpAllowResizeWidth
            '
            .Items = ItemsStyles
        End With

there is a problem it d'ont work
but it work for Style = XTPButtonStyle.xtpButtonIconAndCaption

any idea??!
thanks


I'm using visual studio 2008 pro and codejock 12.1.1
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 October 2009 at 8:40am
Hi,
 
Gallery doesn't support xtpButtonIconAndCaptionBelow :(
Send request to support - I can add it and attach new ocx if you have active subscription
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
RedPsyrus View Drop Down
Groupie
Groupie
Avatar

Joined: 17 November 2008
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote RedPsyrus Quote  Post ReplyReply Direct Link To This Post Posted: 23 October 2009 at 9:14am
hi ..
ok I send you the request later

thanks

I'm using visual studio 2008 pro and codejock 12.1.1
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.078 seconds.