Subject |
Author |
Date |
|
Carlos Herrera
|
May 20, 2011 - 2:47 PM
|
Hi! I’ am using Elegant Ribbon v 3.6 I’ am attempting to check which TabPage of the Ribbon is clicked. Please which event of the Ribbon need I to use? Thanks
|
|
Carlos Herrera
|
May 23, 2011 - 7:16 AM
|
|
|
Technical Support
|
May 21, 2011 - 6:15 AM
|
You can get the currently selected tab page by using the Ribbon.CurrentTabPage property. If you need to track when the currently selected tab page changes, you should use Ribbon.CurrentTabPageChanging and Ribbon.CurrentTabPageChanged events.
|
|
Alexander Kaay
|
May 14, 2011 - 7:43 AM
|
Greetings-- Elegant Ribbon 4.1 produces exceptions when mousing over the ribbon in a multithreaded GUI application. This seems to be related to the bug from last year that affected multithreaded GUI instances (please refer to "Elegant.UI exceptions in forms that run on threads other than the main application thread"): http://www.prof-uis.com/elegant-ribbon/tech-support/forum/elegantui-exceptions-in-forms-that-run-on-threads-other-than-the-main-application-thread-67926.aspx#@lt;/p>
...and subsequent posts. This is not exactly in the same place, but is also related to mouseover events. Please help... this happens frequently enough to make the application unusable. -Alex ************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Elegant.Ui.Control.set_ControlAffectedByMouse(Control value)
at Elegant.Ui.Control.OnMouseEnter(Control control, EventArgs e)
at Elegant.Ui.Control.OnMouseEnter(EventArgs e)
at System.Windows.Forms.Control.WndProc(Message& m)
at Elegant.Ui.Control.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)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
AutoMotion5
Assembly Version: 5.1.4150.27034
Win32 Version: 5.1.4150.27034
CodeBase: file:///C:/AutoFET/AutoFET5/AutoMotion/bin/x86/Debug/AutoMotion5.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Elegant.Ui.Ribbon
Assembly Version: 4.1.0.0
Win32 Version: 4.1.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Ribbon/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Ribbon.dll
----------------------------------------
Elegant.Ui.Grid
Assembly Version: 4.1.0.0
Win32 Version: 4.1.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Grid/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Grid.dll
----------------------------------------
Elegant.Ui.Common
Assembly Version: 4.1.0.0
Win32 Version: 4.1.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Common/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Common.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 10.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
abc5
Assembly Version: 5.0.3900.19942
Win32 Version:
CodeBase: file:///C:/AutoFET/AutoFET5/AutoMotion/bin/x86/Debug/abc5.DLL
----------------------------------------
Elegant.Ui.Common.Theme.Office2007Black
Assembly Version: 4.1.0.0
Win32 Version: 4.1.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Common.Theme.Office2007Black/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Common.Theme.Office2007Black.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.VisualBasic.Compatibility
Assembly Version: 10.0.0.0
Win32 Version: 10.0.30319.1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll
----------------------------------------
Elegant.Ui.Ribbon.Theme.Office2007Black
Assembly Version: 4.1.0.0
Win32 Version: 4.1.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Ribbon.Theme.Office2007Black/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Ribbon.Theme.Office2007Black.dll
----------------------------------------
Microsoft.VisualBasic.PowerPacks.Vs
Assembly Version: 10.0.0.0
Win32 Version: 10.0.30319.1
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.PowerPacks.Vs/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.PowerPacks.Vs.dll
----------------------------------------
RSIQDNET4
Assembly Version: 4.1.28.0
Win32 Version:
CodeBase: file:///C:/AutoFET/AutoFET5/AutoMotion/bin/x86/Debug/RSIQDNET4.DLL
----------------------------------------
Elegant.Ui.Grid.Theme.Office2007Black
Assembly Version: 4.1.0.0
Win32 Version: 4.1.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Grid.Theme.Office2007Black/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Grid.Theme.Office2007Black.dll
----------------------------------------
Microsoft.DirectX.DirectInput
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll
----------------------------------------
System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
System.Data.SqlXml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.SqlXml/v4.0_4.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
----------------------------------------
System.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Drawing.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.206 built by: RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.VisualC
Assembly Version: 10.0.0.0
Win32 Version: 10.00.30319.01
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualC/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------
|
|
Technical Support
|
May 18, 2011 - 1:19 PM
|
Could you create and send to us a a sample project that illustrates the issue? Thank you.
|
|
Oliver Rogall
|
May 10, 2011 - 2:38 AM
|
Hello, when I use a UserControl as a PopupChild which have a CheckBox and a ComboBox included, a click on the CheckBox or a selection in the ComboBox hides the UserControl. I set the properties HidePopupOn... for ComboBox and CheckBox like this: this.comboBox1.HidePopupOnCommitMode = Elegant.Ui.HidePopupMode.DoNotHide; this.comboBox1.HidePopupOnEscapeMode = Elegant.Ui.HidePopupMode.DoNotHide; this.checkBox1.HidePopupOnClickMode = Elegant.Ui.HidePopupMode.DoNotHide; but there is no reaction on this. Best regards, Oliver Rogall
|
|
Technical Support
|
May 11, 2011 - 7:26 AM
|
Please send a sample project which illustrates the issue so we could help you more efficiently.
|
|
Davi Klock
|
May 9, 2011 - 3:47 PM
|
Hi I just installed you component Elegant Ribbon as a evaluation and even the samples are showing the orb icon in a squared box. What do I have to do to get around that?
|
|
Technical Support
|
May 10, 2011 - 2:41 AM
|
Thank you for your interest in Elegant Ribbon. Could you illustrate the issue with a screenshot? Please send it to support@prof-uis.com or put a link to it in this forum. Thank you.
|
|
Priyanka Nuthalapati
|
May 9, 2011 - 5:33 AM
|
In my code I am trying to add Systems.Windows.Forms.LinkLabel to Elegant.UI.PopupMenu.Items. Then,
I am getting an error
An unhandled exception of type ’System.InvalidCastException’ occurred in Elegant.Ui.Common.dll
Additional information: Unable to cast object of type ’System.Windows.Forms.LinkLabel’ to type ’Elegant.Ui.Control’.
|
|
Technical Support
|
May 11, 2011 - 7:17 AM
|
Please tell us which version of Elegant UI you are using?
|
|
Oliver Rogall
|
May 6, 2011 - 5:40 AM
|
Hello, I have a simple test application with Elegant.Ui 4.0 which loads and saves the state of QAT with the PersistentStateManger.Load and PersistentStateManager.Save. I noticed that the created file have always only one line included: <ElegantUIState SerializationVersion="1.0" />
I do some investigation and decided that the designer doesn’t write an ID for the Ribbon. When I set the field id with
this.ribbon1.Id = "6DC36EE8-8C81-4F08-88F7-CC951046B33C"; I get valid files for QAT: <ElegantUIState SerializationVersion="1.0"> <ObjectState ObjectId="6DC36EE8-8C81-4F08-88F7-CC951046B33C"> <ObjectStateValue DataObjectType="Elegant.Ui.RibbonPersistentState" Minimized="False"> <QuickAccessToolbarPersistentState QuickAccessToolbarPlacementMode="AboveRibbon"> <QuickAccessToolbarControlsIds> <QuickAccessToolbarControlId Id="eb3f1018-f717-4a60-b83c-0b820458ba6a" /> <QuickAccessToolbarControlId Id="5601c4a7-63b6-4870-b83f-924d5886a4f8" /> <QuickAccessToolbarControlId Id="b26023d0-2ebc-40d5-ab70-cd530e6c7650" /> <QuickAccessToolbarControlId Id="2a0466dd-15f2-4d82-91a8-de7bd6d787a0" /> <QuickAccessToolbarControlId Id="924a4952-265a-4ec2-93b0-13e477cfb144" /> </QuickAccessToolbarControlsIds> </QuickAccessToolbarPersistentState> </ObjectStateValue> </ObjectState> </ElegantUIState> Best regards Oliver Rogall
|
|
Technical Support
|
May 6, 2011 - 11:28 AM
|
Thank you for the bug report. The fix for this issue will be available in the next version.
|
|
Oliver Rogall
|
May 6, 2011 - 5:31 AM
|
Hello, I have an application where some toggle buttons resides in the popup menu of a split button. The toggle buttons have the same RadioGroupName and works here fine: 
Now, when adding these five toggle buttons to the QuickAccessToolbar I can activate all five buttons at the same time: 
When doing the same with the three toggle buttons (toggleButton9, toggleButton10, toggleButton11) located in the first group of a ribbon tab page, this will work fine.This behaviour belongs to Elegant Ribbon 4.0. Thanks and regards Oliver Rogall
|
|
Technical Support
|
May 11, 2011 - 7:20 AM
|
Thank you for the sample project. The fix will be available in the next version which is coming this month.
|
|
Technical Support
|
May 6, 2011 - 11:29 AM
|
We failed to reproduce the issue. Could you send us a sample project illustrating the issue?
|
|
Marco Scarpa
|
May 4, 2011 - 9:31 AM
|
Hi, i have a Ribbon TabPage with some RibbonGroup. One RibbonGroup has Visible property set to false. The first time i set it to true, its buttons are one over the others, horizontally centered. Look at the attached image to understand the problem. If i change the active TabPage and return, all appears correctly. Can you help me? Thanks Marco 
|
|
Tracy Platt
|
Jul 21, 2011 - 10:17 AM
|
I’m having a similar issue but mine is unrelated to the visible property. My controls were displaying correctly. At some point the Visual Studio designer changed the Location property of some buttons to different values and I got the exact same issue as in the previous comment. When I reverted to a previous version the problem went away. Every so often (I haven’t been able to find a pattern) the location values are changed and the problem recurs. I work around it by keeping a file with the correct location values backed up.
|
|
Technical Support
|
May 6, 2011 - 11:24 AM
|
Sorry, but we couldn’t reproduce the issue. Some sort of sample illustrating the issue would be of a great help. You can also try calling PerfromLayout() and Invalidate() methods of the ribbon group you are showing.
|
|
Christopher Herrington
|
May 6, 2011 - 5:25 AM
|
If you want a quick fix for right now I would suggest refreshing the button or invalidate it. Invalidate will be a little slower since it is a pending process. So the button1.Refresh() or button1.Invalidate(). Put that in the tab change event.
|
|
Tobias Krämer
|
May 4, 2011 - 2:45 AM
|
Hi, I have a problem with the BackstageView. I use an unique process which starts a thread with a new Instance of a form using the Elegant.UI Ribbons with BackstageView. I can use the controls and the BackstageView without any problems.
Now, I close this thread and the form. After that, the same process which started the first thread, starts a new thread which also creates a new instance of the form, including the ribbons with BackstageView.
In that second thread, I can use the ribboncontrol without noticeable problems. But if I open the BackstageView I get an exception and the BackstageView with all included controls is not be shown (just the red cross). The exception I get is as follows:
System.ArgumentException: Ungültiger Parameter. (invalid parameter)
bei System.Drawing.Image.get_Width()
bei System.Drawing.Bitmap..ctor(Image original)
bei Elegant.Ui.TextureGlyph.get_Bitmap()
bei Elegant.Ui.TextureGlyph.RenderGlyphPart(Graphics graphics, Rectangle renderingRectangle, Rectangle sourceRectangle, Single alphaLevel)
bei Elegant.Ui.TextureGlyph.RenderTexture(Graphics graphics, Rectangle bounds, Single alphaLevel)
bei Elegant.Ui.TextureGlyph.Render(Control control, Graphics g, Size size, Rectangle bounds, Single alphaLevel, Boolean fillBackground, Boolean rtlCorrection)
bei Elegant.Ui.TextureGlyph.Render(Control control, Graphics g, Rectangle bounds, Single alphaLevel, Boolean fillBackground, Boolean rtlCorrection)
bei Elegant.Ui.TextureGlyph.Render(Control control, Graphics g, Rectangle bounds, Boolean rtlCorrection)
bei Elegant.Ui.Glyph.Render(Control control, Graphics g, Rectangle bounds)
bei Elegant.Ui.BackstageViewPaintManagerBase.PaintBackground(BackstageView backstageView, PaintEventArgs e)
bei Elegant.Ui.BackstageView.PaintBackground(PaintEventArgs e)
bei Elegant.Ui.Control.OnPaintBackground(PaintEventArgs pevent)
bei System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
bei System.Windows.Forms.Control.WmPaint(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei Elegant.Ui.Control.WndProc(Message& m)
bei Elegant.Ui.ScrollableControl.WndProc(Message& m)
bei Elegant.Ui.ContainerControl.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Maybe it is an known problem and some one can help me with that. Regards
Tobi
|
|
Technical Support
|
May 6, 2011 - 1:32 AM
|
Thank you for the bug report. The fix will be availble in the next version.
|
|
Helmut Wahrmann
|
Apr 10, 2011 - 8:19 AM
|
Hi,
i have the Ribbon in a UserControl, which i place programatically on the form. Works fine.
But having troubles adding a BackstageView to he Ribbon located in the UserControl. Designer does totally weird things.
If i put the Ribbon itself on the Main Form, everything is fine. Designer works like a charm creating the Backstageview.
But i need to have my ribbon in a Control.
Any idea how this might work?
thanks,
Helmut
|
|
Technical Support
|
May 23, 2011 - 1:40 AM
|
|
|
Sergio Monteiro
|
Apr 8, 2011 - 10:25 AM
|
When we switch between RibbonTabPages with the mouse wheel, the RibbonTabGroup where the mouse was in previous RibbonTabPage, dont refresh. It thinks that the mouse continous over the RibbonTabGroup.
How to test: 1 - Position the mouse over RibbonTabPage 1 and RibbonTabGroup 1.1
2 - The RibbonTabGroup 1.1 draws its background to indicate that the mouse is over it.
3 - Schroll Wheell to RibbonTabPage 2.
4 - Click the mouse over RibbonTabPage 1
5 - The RibbonTabGroup 1.1 is still with background color indicating that the mouse is over it.
Thanks.
|
|
Technical Support
|
Apr 11, 2011 - 2:27 AM
|
Thank you. We confirm the issue and will fix it in the next version.
|
|
Sergio Monteiro
|
Apr 8, 2011 - 9:02 AM
|
I. I have been using your Ribbon (Evaluation Copy) since two months ago. Today I purchased a licence key in ComponentSource. I submit the key in the first line of void Main(). The key is specified before first use. I already verify that I’m using and Reference the version 4.1 and I purchased (and installed) the version 4.1.
I already have uninstalled the Eveluation Copy, restarted Windows and install a new fresh Ribbon 4.1.
The problem is that the evaluation window still appears when I run the application.
Please help me.
Thanks in advance
|
|
Sergio Monteiro
|
Apr 8, 2011 - 10:09 AM
|
|
|
Technical Support
|
Apr 8, 2011 - 9:56 AM
|
Thank you for your choice. We are not aware of any problems relating to the licensing. We have just updated your account so that you can try the license key we created for you. Please log in and find the key on the license keys page. If you encounter any problems with this key, please let us know.
|
|
Pavel Murashov
|
Mar 21, 2011 - 8:25 AM
|
We need to localize ColorDialog into Russian language.
We have found your example (Elegant.Ui.Resources.sln) of localization
into German language.
But loading this project we got an error that the file Elegant.snk
cannot be found in the solution. We excluded this file from both
Elegant.Ui.Common and Elegant.Ui.Ribbon projects and compiled an
assembly with ru-RU resources (Elegant.Ui.Common.resources.dll and
Elegant.Ui.Ribbon.resources.dll).
We have put these files into the output directory of our project
and then ran the program (the owner form has been set "Localizable"
property to "true"). Yet localization doesn’t work.
What could you recommend to make localization of ColorDialog?
|
|
Technical Support
|
Mar 27, 2011 - 11:34 PM
|
Please download the updated version of the resource assembly. Regarding the locale change during runtime: do you keep the same instance of ColorDialog all the time? If so, and you want your application to change the UI language dynamically, you need to recreate the ColorDialog each time you change the UI language.
Elegant.Ui.Common.resources.zip
|
|
Pavel Murashov
|
Mar 28, 2011 - 12:03 AM
|
Thanks, this advice and new resources has helped.
|
|
Technical Support
|
Mar 24, 2011 - 6:40 AM
|
The Russian locale is supported out of the box. Did you try to use assemblies from the folder Bin\Core\ru-RU?
|
|
Pavel Murashov
|
Mar 24, 2011 - 8:39 AM
|
It’s work. Thanks. You have errors in ColorDialog ru-RU localization: 1. ComboBox item "Hue, Saturation, Lightness" not localize. 2. "Add to custom colors" button: need to fix "Добавить в набоТ" > "Добавить в набоР". And I have one question... How to change the language of the ColorDialog during runtime? This code... System.Globalization.CultureInfo ci_en = new System.Globalization.CultureInfo("...");
System.Threading.Thread.CurrentThread.CurrentCulture = ci_en;
System.Threading.Thread.CurrentThread.CurrentUICulture = ci_en; ..don’t work for ColorDialog, but works for other elements (Ribbon etc.).
|
|
Technical Support
|
Mar 25, 2011 - 3:33 AM
|
Could you specify which version of Elegant UI you are using?
|
|
Pavel Murashov
|
Mar 25, 2011 - 3:55 AM
|
|
|
Pavel Murashov
|
Mar 24, 2011 - 7:39 AM
|
Oh! Sorry for the trouble! I was not attentive...
|
|
Roberto Párraga
|
Mar 18, 2011 - 6:31 PM
|
I suggest add a new control, named Circular Progress Control. Roberto
|
|
Technical Support
|
Mar 21, 2011 - 12:50 AM
|
Thank you for your suggestion. Our main priority for the next versions is dockbars, toolbars and tabbed mdi.
|
|
Roberto Párraga
|
Aug 6, 2011 - 9:28 AM
|
Hi, for the next version will have tabbed mdi? I need this component and want it to be as good as the navigation bar, I expect new features in the navigation bar. Roberto
|
|
Roberto Párraga
|
Mar 18, 2011 - 6:37 PM
|
Consider it necessary to add dialog boxes (FileDialog) with the same functionality and appearance of Windows 7. Also, add background themes similar to the programs of Office for forms in SDI and MDI applications.
|
|
luca cusi
|
Mar 16, 2011 - 3:44 AM
|
Hello guys, i’ve a problem with a form, where i have an elegant.ui.panel under some groupbox with controls inside. When i move the cursor of the mouse on the groupbox, i obtain a nasty visive effect, something like a flash. If i remove groupboxes or the panel, the problem disappear. Anybody can help me?
|
|
Technical Support
|
Mar 24, 2011 - 4:21 AM
|
Could you send us a sample project that illustrates the issue?
|
|
Roberto Párraga
|
Mar 11, 2011 - 4:50 PM
|
Hi, the control has a proppiedad MinimizeButtonVisible GropuedNavigationBar Sete to True but do not see the button or at design time or runtime.
|
|
Technical Support
|
Mar 14, 2011 - 7:15 AM
|
The minimized button only makes sense when the the NavigationBar is in Outlook mode (i.e. myNavigationBar.BehaviorMode == GroupedNavigationBarBehaviorMode.Outlook ).
|
|
Roberto Párraga
|
Mar 11, 2011 - 1:50 PM
|
I suggest you add a control that allows switching from one window to another both MDI and SDI applications. This can be done in code, I’ve done, but could use a visual control to undertake this task, let’s call WindowsListButton control.
Roberto.
|
|
Technical Support
|
Mar 15, 2011 - 12:28 PM
|
Thank you for your suggestion. Though it is not very difficult to add this functionality in a custom app, we will consider adding it to the Elegant UI.
|
|
Roberto Párraga
|
Mar 11, 2011 - 1:34 PM
|
Hi, i suggest Collapsed and expanded the NavigationGroup controls having click in design time. Roberto.
|
|
Technical Support
|
Mar 14, 2011 - 7:09 AM
|
Thank you for the suggestion. We will implement expanding/collapsing groups when the user clicks on the group header expand button at design time.
|
|
Marco Scarpa
|
Mar 3, 2011 - 6:32 AM
|
Hi, i’d like to know if i can create a NavigationBarGroup that on keypress open a form and doesn’t change the control of the navigationbar. I mean, i need a simple button that looks like others NavigationBarGroup. Is it possible? Thanks bye Marco
|
|
Technical Support
|
Mar 4, 2011 - 10:19 AM
|
Yes, it is possible. Could you please tell us how you are using your navigation bar items, in Action mode, or in Selection mode? In other words, what do you expect from the items on mouse click selection or some action to happen?
|
|
Marco Scarpa
|
Mar 7, 2011 - 2:05 AM
|
Now the navigation bar is working in outlook mode, with ItemActionMode set in RadioSelection. The first two bar items have to work in standard mode, showing the ContentControl. The third bar item, instead, has to open a new form wihout changing anything on navigation bar. Thanks Marco
|
|
Technical Support
|
Mar 9, 2011 - 12:37 PM
|
Please use the following sample code: public partial class Form1 : Form
{
public class MyNavigationBarItem : NavigationBarItem
{
/// <summary>
/// Overrides the member from the base class.
/// </summary>
protected override void OnMouseDown(MouseEventArgs e)
{
if (e.Button != MouseButtons.Left || !Enabled)
return;
Pressed = true;
Capture = true;
}
/// <summary>
/// Overrides the member from the base class.
/// </summary>
protected override void OnMouseUp(MouseEventArgs e)
{
Capture = false;
Pressed = false;
base.OnMouseUp(e);
}
}
public Form1()
{
InitializeComponent();
MyNavigationBarItem item = new MyNavigationBarItem();
item.Text = "Click me";
item.MouseUp += Item_MouseUp;
navigationBarGroupItemsContainer1.Items.Add(item);
}
void Item_MouseUp(object sender, MouseEventArgs e)
{
MessageBox.Show("Hello");
}
}
|
|
Marco Scarpa
|
Mar 3, 2011 - 10:01 AM
|
Thank you for the answer. But i want that my custom navigationbaritem to be between the other standard navigationbaritem, in the NavigationBar. Just like the sdandard ones but i you click it a form opens. Is it possible? thanks marco
|
|
Technical Support
|
Mar 3, 2011 - 8:02 AM
|
Your request is quite unusual but it is possible to achieve what you want. Please use the following code in your application:
class MyNavigationBarItem : NavigationBarItem
{
public MyNavigationBarItem()
{
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
}
/// <summary>
/// Overrides the member from the base class.
/// </summary>
protected override void OnMouseDown(MouseEventArgs e)
{
if (e.Button != MouseButtons.Left || !Enabled)
return;
Pressed = true;
Capture = true;
}
/// <summary>
/// Overrides the member from the base class.
/// </summary>
protected override void OnMouseUp(MouseEventArgs e)
{
Capture = false;
Pressed = false;
}
protected override void OnPaintForeground(PaintEventArgs e)
{
INavigationBarGroupItemsContainerPaintManager pm =
((INavigationBarPaintManagerFactory)SkinManager.GetPaintManagerFactory(
Product.NavigationBar)).NavigationBarGroupItemsContainerPaintManager;
if (pm != null)
pm.PaintItemForeground(this, e.Graphics);
}
protected override void PaintBackground(PaintEventArgs e)
{
PaintStandardBackground(e);
if(!Hovered && !Pressed)
{
ICommonPaintManager cpm =
((ICommonPaintManagerFactory)SkinManager.GetPaintManagerFactory(
Product.Common)).CommonPaintManager;
Rectangle rect = ClientRectangle;
rect.Y++;
rect.Height--;
using (SolidBrush brush = new SolidBrush(cpm.BackgroundColor))
e.Graphics.FillRectangle(brush, rect);
const int borderWidth = 1;
rect.Size = new Size(rect.Width - borderWidth, rect.Height - borderWidth);
using (Pen pen = new Pen(cpm.BorderColor, borderWidth))
e.Graphics.DrawRectangle(pen, rect);
}
INavigationBarGroupItemsContainerPaintManager pm =
((INavigationBarPaintManagerFactory)SkinManager.GetPaintManagerFactory(
Product.NavigationBar)).NavigationBarGroupItemsContainerPaintManager;
if (pm != null)
pm.PaintItemBackground(this, e.Graphics);
}
}
public MyForm()
{
InitializeComponent();
MyNavigationBarItem i = new MyNavigationBarItem();
i.Text = "I am a Button";
i.Padding = new Padding(10);
Controls.Add(i);
i.Size = new Size(100, 20);
i.Click += new EventHandler(i_Click);
}
void i_Click(object sender, EventArgs e)
{
MessageBox.Show("Hello");
}
|
|
Marco Scarpa
|
Mar 4, 2011 - 6:15 AM
|
Thank you for the answer. But i want that my custom navigationbaritem to be between the other standard navigationbaritem, in the NavigationBar. Just like the sdandard ones but i you click it a form opens. Is it possible? thanks marco
|
|
Ernest Baumunk
|
Feb 22, 2011 - 12:25 AM
|
We have Problemm with the TextBox and ComboBox (version 4.0 of Elegant Ribbon)
In this version does not work the following code:
Textbox1.Focus ();
TextBos1.SelectAll ();
Namely when the control is in a ribbon.
This is since version 4.0, with 3.4 before it has gone.
Why?
|
|
Anthony Maurer
|
May 9, 2011 - 9:48 AM
|
I’m using version 4.1 and this still hasn’t been fixed.
|
|
Technical Support
|
May 11, 2011 - 7:17 AM
|
We fixed this issue in the 4.1 and cannot reproduce it anymore. Please send us a sample project illustrating the issue.
|
|
Technical Support
|
Feb 26, 2011 - 6:52 AM
|
Thank you for reporting this bug. The fix will be available in the next release.
|