Subject |
Author |
Date |
|
Gunter Avenius
|
May 26, 2008 - 8:40 AM
|
Hello, Elegant Ribbon 3.0, vb2005 How can I add Buttons , ToggleButtons, Separators Controls with Code (vb2005) to a DropDown - Popup Menu? Thanks
Gunter
|
|
Gunter Avenius
|
May 27, 2008 - 1:05 AM
|
Hello, I found it. Problem solved. Thanks
|
|
Gunter Avenius
|
May 26, 2008 - 11:19 PM
|
Hello, more precisely: I add to my Ribbon a Dropdown with Code. Like: Dim ctlDD as Elegant.Ui.DropDown MyribbonGroup.Controls.Add(ctlDD)
This works. But how can I add to this Dropdown Controls like Button, Togglebuttons, Seperators or Dropdowns? Thanks.
Gunter
|
|
Gregory Johnson
|
May 24, 2008 - 6:19 PM
|
Is there any way to add multiple arguments to a command?
|
|
Technical Support
|
May 26, 2008 - 9:32 AM
|
We are sorry but your question is not completely clear for us. Would you clarify it? Some code snippet would also be helpful.
|
|
Gregory Johnson
|
May 7, 2008 - 12:35 PM
|
I have a command associated with a toggle button. The command performs functions based on the pressed property state of the button. However, when the button is pressed the command is not executed.
|
|
Technical Support
|
May 7, 2008 - 3:05 PM
|
When you click a toggle button, a Command.DataChanged event occurs. So you should use this event instead.
|
|
Brian Adams
|
May 6, 2008 - 8:10 AM
|
I’m getting a NotSupportedException when I press the Alt key. The stack trace is below. It appears that the Ribbon is calling a property that isn’t supported on Windows Server 2000. I’m using version 2.2.0.0. What is my best course of action (and upgrading to Windows Server 2003 isn’t an option right now)? Thanks!
Brian System.NotSupportedException: Feature not supported with this operating system.
at System.Windows.Forms.SystemInformation.get_FontSmoothingType()
at Elegant.Ui.KeyTip.GetPreferredTextSize()
at Elegant.Ui.KeyTip.GetPreferredSize(Size proposedSize)
at Elegant.Ui.RibbonTab.KeyTipPlacementRoutine(KeyTip keyTip)
at Elegant.Ui.KeyTipForm.UpdateKeyTips()
at Elegant.Ui.KeyTipEngine.Activate(Boolean activate, Int32 keyCode)
at Elegant.Ui.KeyTipEngine.Elegant.Ui.IInputSpyListener.OnInputSpyKeyUp(InputSpyKeyEventArgs e)
at Elegant.Ui.InputSpy.KeyboardHookProc(Int32 nCode, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.GetMessageW(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Practices.CompositeUI.WinForms.FormShellApplication`2.Start()
at ApplicationHost.ApplicationHostApplication.Start() in D:\Programming\HPAS\ApplicationHost.root\ApplicationHost\ApplicationHost\ApplicationHostApplication.cs:line 216
at Microsoft.Practices.CompositeUI.CabApplication`1.Run()
at ApplicationHost.ApplicationHostApplication.RunInReleaseMode(String[] Args) in D:\Programming\HPAS\ApplicationHost.root\ApplicationHost\ApplicationHost\ApplicationHostApplication.cs:line 94
at ApplicationHost.ApplicationHostApplication.Main(String[] Args) in D:\Programming\HPAS\ApplicationHost.root\ApplicationHost\ApplicationHost\ApplicationHostApplication.cs:line 63
|
|
Technical Support
|
May 6, 2008 - 11:04 AM
|
Thank you for reporting the bug. We have just fixed it. The fix will be available in the next release which is planned for the end of May. You can workaround this at the moment by turning the key tips off at all. Just set the KeyTipEngine.Enabled property to false .
|
|
Muhammet Sivri
|
Apr 30, 2008 - 4:59 PM
|
I’m currently using your trial version of the Ribbon Control and got an error while showing a dialog and right clicking on the form with the ribbon control. The Source: "Elegant.Ui.Ribbon" The Message: "Object reference not set to an instance of an object." Here is the stack trace: at Elegant.Ui.Ribbon.OnInputSpyMouseUp(InputSpyMouseEventArgs e)
at Elegant.Ui.Ribbon.RibbonInputSpyListener.Elegant.Ui.IInputSpyMouseListener.OnInputSpyMouseUp(InputSpyMouseEventArgs e)
at Elegant.Ui.InputSpy.NotifyAboutMouseUpEvent(IInputSpyMouseListener[] listeners, MouseButtons buttons, Int32 x, Int32 y, IntPtr hwnd)
at Elegant.Ui.InputSpy.MouseHookProc(Int32 nCode, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.PeekMessage(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at ProjectMage.ProjectMageForm.ProjectMageForm_Load(Object sender, EventArgs e) in C:\[project path]\ProjectMage.cs:line 41
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Target Site: {Boolean OnInputSpyMouseUp(Elegant.Ui.InputSpyMouseEventArgs)} I can keep recreating the error if need be.
|
|
Lily Ho
|
Jul 15, 2008 - 12:00 PM
|
My comany recently bought the ribbon. I have the same problem. Do you guys fix the problem yet? If not, do you know any ways to fix the problem without waiting for the new release?
|
|
Technical Support
|
Jul 15, 2008 - 12:56 PM
|
We have fixed this bug in the version 3.1. It’s available for download on our website.
|
|
Muhammet Sivri
|
May 1, 2008 - 4:02 PM
|
Sure. By the way, this error seems to also appear randomly at startup as well, same type of error, with same information, different trace. Note that, in the test project, only your ribbon is used. Here is the test project. Once you are in debug mode, a dialog will automatically show, wait a bit and just right click on the main form. I’ve tested it 4 times and recieved the error each test. Note that I use Windows XP SP2 with .Net 3.5 and Visual Studio Express 2008. This is the second trace i got: at Elegant.Ui.Ribbon.OnInputSpyMouseUp(InputSpyMouseEventArgs e)
at Elegant.Ui.Ribbon.RibbonInputSpyListener.Elegant.Ui.IInputSpyMouseListener.OnInputSpyMouseUp(InputSpyMouseEventArgs e)
at Elegant.Ui.InputSpy.NotifyAboutMouseUpEvent(IInputSpyMouseListener[] listeners, MouseButtons buttons, Int32 x, Int32 y, IntPtr hwnd)
at Elegant.Ui.InputSpy.MouseHookProc(Int32 nCode, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.PeekMessage(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at RibbonErrorTest.Program.Main() in C:\[projectpath]\RibbonErrorTest\Program.cs:line 18
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
|
|
Technical Support
|
May 2, 2008 - 11:03 AM
|
Thank you for reporting the problem. We will fix it in the next release.
|
|
Muhammet Sivri
|
May 1, 2008 - 4:02 PM
|
Sure. By the way, this error seems to also appear randomly at startup as well, same type of error, with same information, different trace. Note that, in the test project, only your ribbon is used. Here is the test project. Once you are in debug mode, a dialog will automatically show, wait a bit and just right click on the main form. I’ve tested it 4 times and recieved the error each test. Note that I use Windows XP SP2 with .Net 3.5 and Visual Studio Express 2008. This is the second trace i got: at Elegant.Ui.Ribbon.OnInputSpyMouseUp(InputSpyMouseEventArgs e)
at Elegant.Ui.Ribbon.RibbonInputSpyListener.Elegant.Ui.IInputSpyMouseListener.OnInputSpyMouseUp(InputSpyMouseEventArgs e)
at Elegant.Ui.InputSpy.NotifyAboutMouseUpEvent(IInputSpyMouseListener[] listeners, MouseButtons buttons, Int32 x, Int32 y, IntPtr hwnd)
at Elegant.Ui.InputSpy.MouseHookProc(Int32 nCode, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.PeekMessage(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at RibbonErrorTest.Program.Main() in C:\[projectpath]\RibbonErrorTest\Program.cs:line 18
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
|
|
Technical Support
|
May 1, 2008 - 1:13 AM
|
Would you send us a test project that illustrates the issue?
|
|
Muhammet Sivri
|
May 1, 2008 - 4:03 PM
|
My browser posted the post twice, sorry for that, I’m new to this style of forum.
|
|
jitendra jariwala
|
Apr 30, 2008 - 3:43 AM
|
Is Elegant Support Any button in Title Bar / Caption Bar. If it is not there is there are idea you are doing it or not.
|
|
Technical Support
|
Apr 30, 2008 - 10:27 AM
|
Currently you cannot insert custom controls into the application title bar. we will add this feature in a future version..
|
|
Gunter Avenius
|
Apr 26, 2008 - 5:50 AM
|
Hello, (vb2005 / Elegant Ribbon 3.0) how can i set Elegant.Ui.ApplicationMenuSeparatorInformativeness.FixedLevel to
"SeparatorWithText" with Code? I use following Code but it dont works:
Dim va As Elegant.Ui.ApplicationMenuSeparatorInformativeness
va = Me.Separator3.Informativeness
Separator3.Informativeness.FixedLevel = va.MaximumLevel Thanks Gunter
|
|
Gunter Avenius
|
Apr 27, 2008 - 1:37 AM
|
|
|
Technical Support
|
Apr 27, 2008 - 1:26 AM
|
The MaximumLevel property value stands for maximum allowable informativeness during adaptive layout. To accomplish your task, just use: separator3.Informativeness.FixedLevel = ApplicationMenuSeparatorInformativenessLevel.SeparatorWithText
|
|
John Do
|
Apr 5, 2008 - 1:54 AM
|
1. Bug I have noticed when the Numeric Up-Down control has focus and the user presses the enter key to execute some function, it’s triggered twice instead of once. Other controls work fine. 2. Numeric Up-Down control Query I’m trying to set the cursor to end of line when the control receives focus but I can’t think of a solution for this, I’m hoping you could provide me with one. I believe the control is based on the TextBox control (unless visual studio lies to me) and I do not have some of the basic functions available to me that would allow me to do what I want. Kind regards.
|
|
Jianping Zhou
|
Mar 31, 2008 - 2:38 AM
|
Prof-UI 2.82 Integration Wizard causes Visual Studio 2005 SP1 Crashes. When the Integration Wizard is doing "Library build for Visual Studio 2005 (Win32 platform)", it caused the Visual Studio 2005 crashes. The following is the details of the exception error: --------------------------------------------------------------------------------------------- Error Application: devenv.exe, Version 8.0.50727.762
Error module: msvcr80.dll, Version 8.0.50727.762
Error address:0x00039001
--------------------------------------------------------------------------------------------- When the exception error happened, the Integration Wizard enters a waiting loop, and never return. I must kill the integration Wizard by the task manager. And if I start sample project by the installed shortcut ""C:\Program Files\FOSS Software Inc\Prof-UIS\Workspace\ProfUIS_800.sln"", Visaul Studio 2005 also crashes while building the solution. Please help. Jianping
|
|
koike sige
|
Mar 20, 2008 - 8:56 PM
|
Can I Use Elegant Ribbon Control With UserControl? 1.I Create VS2005 Project.
2.I add UserControl.
3.I put Elegant Ribbon Control(ex.Elegant.Ui.NumericUpDown) on the UserControl.
4.I build projct.
5.I register the UserControl int the ToolBox.
5.I Create WindowsApplication Project.
6.I put the two UserControls on the Form.
7.I delete the two UserControls.
8.The error was displayed , saying that "Object with the this Id has not been registered".
|
|
Technical Support
|
Mar 21, 2008 - 9:47 AM
|
Thank you for reporting the problem, we fixed it.
|
|
Alexandre MUTEL
|
Mar 20, 2008 - 5:59 AM
|
I’m evaluating the Ribbon product. It looks great. However, i have right now two issues : 1) About the gallery control I’m trying to create a dropdown gallery with a button with an image on a form (directly with the gallery control and the informativeness property), but i’m not able to put an image left align to the left on the drop down button. The image always appears on the center behind the text on the button. This behaviour is different if you have the gallery on the ribbon : here, you can align the image on the left; top...etc. Is it a bug or a missing feature? It would be great to have a simple way to specifiy the image alignement on a dropdown gallery button. 2) About the Skin It seems to be possible to modify skin, but the save method on SkinManager crashes and the resulting xml file is not very human-modifiable (lots of binary structure). Will you provide a simple way to edit skin? It would be nice to be able to change easely the Skin just with a single main color (as DotNetBar Ribbon control for example works). Thanks for your support.
|
|
Technical Support
|
Mar 21, 2008 - 9:51 AM
|
1. The properties of a gallery drop-down cannot be changed at the moment because we tried to make the gallery API as generic as possible. We will solve this problem for the next release.
2. Visual themes cannot be customized. We use bitmap-based themes (instead of painting lines and filling areas with gradients) to get exactly the same look as in Microsoft Office.
|
|
Joe Fromm
|
Mar 17, 2008 - 3:56 PM
|
We have several control dialogs that are derived from CExtControlBar. The problem is that if these dialogs are floating instead of docked, they show up in the list of windows given by alt-tab in vista (or by using the "alt-tab replacement" powertoy - http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx).
The usual method of solving this is to give the control bar the WS_EX_TOOLWINDOW extended style, but that doesn’t work because in CExtDockMiniFrameWnd::OnWindowPosChanging the extended styles defined by:
#define __REMOVED_STYLES_EXTENDED (WS_EX_TOOLWINDOW|WS_EX_STATICEDGE|WS_EX_WINDOWEDGE|WS_EX_DLGMODALFRAME)
are always removed from the window.
Is there a reason that WS_EX_TOOLWINDOW has to be removed, or some other way to remove a toolwindow from the alt-tab list?
I would appreciate any help you could give.
|
|
Joe Fromm
|
Mar 18, 2008 - 8:00 AM
|
Sorry, please disregard. I posted this in the wrong forum.
|
|
sumit saxena
|
Mar 11, 2008 - 3:41 AM
|
I also would like to know how to show the progress or processing of the application on the ribbonbar.
I have tried it by loading different png into the Ext filebutton but the image that gets loaded first is not changing.
Is it possible to show the progress in this way?
|
|
Technical Support
|
Mar 17, 2008 - 5:48 AM
|
Why don’t you just use a progress bar for that? Do you really want to show the progress by changing the bitmap of the File button?
|
|
Sven Rutten
|
Mar 10, 2008 - 12:29 PM
|
Hello
I have used only 2.1 until now, and that was crashing by some clients when they were using another DPI as the standard 96dpi.
Is this fixed in 3.0?
THanks
Sven
|
|
Technical Support
|
Jul 17, 2008 - 1:55 PM
|
We have fixed several issues related to non-96 DPI desktops in 3.1. Could you please provide us with more details and/or screens shots describing how to reproduce these crashes? It would be also helpful to get some test project from you and step by step guide for reproducing crash in it.
|
|
Gunter Avenius
|
Mar 6, 2008 - 2:17 AM
|
Hello,
Elegant Ribbon 3.0, vb2005
How can i add a Comobox Item with Screentip an Image with Code in vb2005. The Images are store in a Imagelist.
I can add a Combobox Item without Image and Screentip with:
ComboBoxControl.Items.Add("MyCombobox")
Thanks Gunter
|
|
Gunter Avenius
|
Mar 6, 2008 - 11:19 PM
|
Hello,
I found it.
Comboboxcontrol.Items.Add(New ComboboxItem("Name",Image,"Screentip"))
Thanks. Gunter
|
|
Gunter Avenius
|
Mar 6, 2008 - 9:56 AM
|
Hello,
Please, can you give me a litte example for vb2005?
Thanks. Gunter
|
|
Technical Support
|
Mar 6, 2008 - 9:51 AM
|
If you need to modify combo box items collection dynamically, you should work with the ComboBox.Items collection directly instead of setting DataSource . In this case all you need is to add an items to this collection in a button click event handler.
|
|
Gunter Avenius
|
Mar 6, 2008 - 6:16 AM
|
Hello,
thanks.
I found the sample Code in our Samples.
Ok. This Sample adds 2 ComboboxItems and works fine.
How can i add with a Button Click another (third) Combobox Item?
Text ="Item 3" Screentip = "My next ComboBoxitem" Image=imgList1.Images("myImage")
|
|
Technical Support
|
Mar 6, 2008 - 6:08 AM
|
You can add images and tooltips for a combo box items by using the ComboBox.ItemImagePropertyName and ComboBox. ItemScreentipTextPropertyName properties, like as follows Friend Class ComboBoxItem
Public Sub New(ByVal text As String, ByVal image As Image, ByVal tooltipText As String)
_Text = text
_Image = image
_ScreentipText = tooltipText
End Sub
Public _Text As String
Public Property Text() As String
Get
Return _Text
End Get
Set(ByVal value As String)
_Text = value
End Set
End Property
Public _ScreentipText As String
Public Property ScreentipText() As String
Get
Return _ScreentipText
End Get
Set(ByVal value As String)
_ScreentipText = value
End Set
End Property
Public _Image As Image
Public Property Image() As Image
Get
Return _Image
End Get
Set(ByVal value As Image)
_Image = value
End Set
End Property
End Class
Private Sub InitializeComboBoxWithImages()
Dim ds() As ComboBoxItem = { New ComboBoxItem("Item 1", myImage1, "Item 1 Description"), _
New ComboBoxItem("Item 2", myImage2, "Item 2 ) }
SampleComboBoxWithImages.ItemImagePropertyName = "Image"
SampleComboBoxWithImages.ItemScreentipTextPropertyName = "ScreentipText"
SampleComboBoxWithImages.DisplayMember = "Text"
SampleComboBoxWithImages.ItemHeight = 40
SampleComboBoxWithImages.DataSource = ds
End Sub
|
|
Gunter Avenius
|
Feb 12, 2008 - 5:07 AM
|
Hello,
Elegant Ribbon 2.2, vb2005
i want to set up an Text /Label for a Button in a ButtonGroup (Like Office Ribbon XML)
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon startFromScratch="false"> <tabs> <tab id="MyTab" label="My Tab"> <group id="MyGroup1" label="Sample ButtonGroups"> <button id="MyButton1" label="Button alone" imageMso="_1" onAction="MyButton1CallbackOnAction"/>
<buttonGroup id="myButtonGroup1"> <button id="MyButton2" imageMso="_2" label="Button 2" onAction="MyButton2CallbackOnAction"/> <button id="MyButton3" imageMso="HappyFace" label="OK?" onAction="MyButton3CallbackOnAction" /> </buttonGroup> <buttonGroup id="myButtonGroup2"> <button id="MyButton4" imageMso="FormatPainter" label="Paint" showLabel="false" onAction="paint" /> <toggleButton idMso="Bold" /> <toggleButton idMso="Underline" /> <toggleButton idMso="Italic" /> </buttonGroup>
</group> </tab> </tabs> </ribbon> </customUI>
see also: http://www.accessribbon.de/en/?Access_-_Ribbons:Ribbon_XML___Controls:ButtonGroups
How can i do this?
Best regards Gunter Avenius
|
|
Gunter Avenius
|
Feb 12, 2008 - 7:00 AM
|
Hello,
Thats not nice :-(
Best regards Gunter
|
|
Technical Support
|
Feb 12, 2008 - 6:44 AM
|
RibbonX is the Microsoft Office UI Extensibility technology, which is specific to Office products only. So it is not supported in our components.
|
|
Paula Morgan
|
Feb 10, 2008 - 5:50 PM
|
Hello,
I love your ui controls! Nice job.
One thing, though. Can I make the combo box style a drop down list instead of a true combo? If so, how?
Thank you in advance, Paula
|
|
Paula Morgan
|
Feb 11, 2008 - 6:44 AM
|
Thank you for the information...if it were a snake!
|
|
Technical Support
|
Feb 11, 2008 - 4:47 AM
|
Thank you for the kind words. In the ComboBox class there is a property called Editable . If you set it to true , the text box portion of a combo box will be editable, otherwise no.
|
|
Gunter Avenius
|
Feb 9, 2008 - 5:51 AM
|
Hello,
i want list all Controls on a RibbonCroup (in vb2005)
i use:
For Each Ribbonctl In RibbonGroup.Controls Me.lstControls.Items.Add(Ribbonctl.Name) Next Ribbonctl
this works. But it works not when a ButtonGroup is avalible in the RibbonGroup.
How can i get a List with all Controls in a RibbonCroup (with all ButtonGroups and all Controls in the ButtonGroup)
Thanks and best regards Gunter
|
|
Gunter Avenius
|
Feb 11, 2008 - 5:21 AM
|
|
|
Technical Support
|
Feb 11, 2008 - 4:43 AM
|
Here is the code that should allow you to do that For Each control As System.Windows.Forms.Control In ribbonGroup.Controls
Dim buttonGroup As ButtonGroup = TryCast(control, ButtonGroup)
If buttonGroup IsNot Nothing Then
For Each buttonGroupControl As Control In buttonGroup.Controls
’ Use buttonGroupControl here.
Next buttonGroupControl
End If
’ Use control here.
Next control
|
|
Alex Olehnovich
|
Jan 24, 2008 - 7:23 AM
|
Hello,
Can I use Gallery control without Ribbon?
Thanks, Alex.
|
|
Alex Olehnovich
|
Jan 24, 2008 - 8:19 AM
|
Thanks. I’m alreday waiting for it.
It’s rather important for us to use Gallery and Ribbon styled in the same way.
|
|
Technical Support
|
Jan 24, 2008 - 8:01 AM
|
This feature will be available in the next release that is coming soon. You will be able to put a Gallery on a Form.
|
|
Sven Rutten
|
Jan 23, 2008 - 2:29 AM
|
Hello
How can I download Version 2.1?
Thanks
|
|
Technical Support
|
Jan 23, 2008 - 11:03 AM
|
You can download it directly from our web site. Here is the link. Please note we do not support old versions.
|