Print Page | Close Window

Access 2007 Style

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=15412
Printed Date: 23 April 2024 at 4:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Access 2007 Style
Posted By: RedPsyrus
Subject: Access 2007 Style
Date 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 - 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



Replies:
Posted By: RedPsyrus
Date Posted: 22 October 2009 at 4:09am
no help...!

-------------
I'm using visual studio 2008 pro and codejock 12.1.1


Posted By: Oleg
Date 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


Posted By: RedPsyrus
Date 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


Posted By: Oleg
Date 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


Posted By: RedPsyrus
Date 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



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