Print Page | Close Window

Have problem with FindControl Method

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=12833
Printed Date: 17 June 2025 at 10:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Have problem with FindControl Method
Posted By: RedPsyrus
Subject: Have problem with FindControl Method
Date Posted: 01 December 2008 at 9:12am
Hi,,
I'm using VB 9 and xtreme commandbars 12.1.1 , when i try to find a control or a tab  after loading the xcb file it makes error, Iuse this code
 

Dim resDir As String = System.IO.Path.GetDirectoryName(Application.ExecutablePath) + "\\res\\DBar2.xcb"

CommandBars.VisualTheme = XtremeCommandBars.XTPVisualTheme.xtpThemeRibbon

CommandBars.DeleteAll()

CommandBars.LoadDesignerBars(resDir, Nothing)

Dim GroupFont As XtremeCommandBars.RibbonGroup

GroupFont = RibbonBar.FindTab(ID.ID_GROUP_FONT)

GroupFont.ControlsGrouping = True (it's make error here or when I try to change any think)

please how to by pass this error..
 
thanks 


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



Replies:
Posted By: SuperMario
Date Posted: 01 December 2008 at 10:10am
Don't you mean:

GroupFont = RibbonBar.FindGroup(ID.ID_GROUP_FONT)


Posted By: RedPsyrus
Date Posted: 01 December 2008 at 10:15am

excuse me

thanks for reply


-------------
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