Subject |
Author |
Date |
|
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.
|
|
Bandar Alfatta
|
Feb 20, 2011 - 2:15 PM
|
Hi, Very nice tools but i have some issue about Memory i think it’s to large and i see increase memory every time i change the themas (I use your demo).
We are really interested to your product but want clarification on this issue
Thanks
|
|
Technical Support
|
Feb 21, 2011 - 6:33 AM
|
We checked the sample Gen2 heap size while changing the visual themes with the Performance Monitor, and it shows that the unused memory gets collected OK. Here is the screenshot:
|
|
Sublight Developer
|
Feb 16, 2011 - 2:28 PM
|
Since I upgraded Elegant Ribbon from version 3.8 to 4.0 my application frequently crashes with Stack Overflow exception (unfortunately stack trace of this exception is not available in this case). Exception happens randomly after few hours of application usage. Did you change something drastically in version 4.0?
|
|
Sublight Developer
|
Feb 22, 2011 - 11:49 AM
|
Here is simple example how you can reproduce problem: using System;
using System.Windows.Forms;
namespace ElegantRibbonTest
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
protected override void OnShown(EventArgs e)
{
base.OnShown(e);
System.Windows.Forms.TextBox winFormsTextBox = new TextBox();
winFormsTextBox.Text = "Test";
winFormsTextBox.Width = 100;
Controls.Add(winFormsTextBox);
Controls.Remove(winFormsTextBox);
winFormsTextBox.Dispose(); //successfully disposed
Elegant.Ui.TextBox textBox = new Elegant.Ui.TextBox();
textBox.Text = "Test";
textBox.Width = 100;
Controls.Add(textBox);
Controls.Remove(textBox);
textBox.Dispose(); //System.StackOverflowException exception
}
}
}
|
|
Sublight Developer
|
Feb 16, 2011 - 2:52 PM
|
I think it has something to do with dynamic Elegant Ribbon controls creation (Elegant.Ui.TextBox and Elegant.Ui.Button) and Dispose() call...
|
|
Technical Support
|
Feb 23, 2011 - 2:34 AM
|
Thank you for the bug report. We have fixed it and will send you the updated assemblies soon.
|
|
Sublight Developer
|
Feb 16, 2011 - 10:23 AM
|
|
|
Sublight Developer
|
Mar 15, 2011 - 11:35 AM
|
I installed new Elegant Ribbon 4.1 and used new property QuickAccessToolbarDropDownVisible. It looks like that setting this property does not have any effect. I am using 64 bit Windows 7 and Elegant Ribbon Office 2010 (silver) theme.
|
|
Technical Support
|
Mar 16, 2011 - 12:52 AM
|
|
|
Technical Support
|
Feb 26, 2011 - 6:53 AM
|
The functionality will be available in version 4.1. Thank you.
|
|
Tom Faris
|
Feb 14, 2011 - 3:16 PM
|
Hi,
I am wondering if there is a way to use the SplitButton control on the Application Menu? An example of such an application would be Excel 2007, where many of the options (Save As, Print, etc...) show a popup with multiple options (Save as workbook, save as macro-enabled workbook,...), but the user can also simply click the Save As button to get a default behavior.
DropDown is close but does not have a button section. Through some testing I’ve been able to get an actual SplitButton onto an application menu, but it skins as it would normally instead of in the context of the menu.
Thanks.
|
|
Technical Support
|
Feb 16, 2011 - 6:08 AM
|
We are sorry but SplitButton is not currently supported by the menu. We will probably add this feature in one of our next releases.
|
|
JACQUEMIN Fabrice
|
Feb 12, 2011 - 1:07 PM
|
Hello, I find that a control ListBox is missing and that he(it) would be the timely in one future version
Fabrice (France)
|
|
Technical Support
|
Feb 16, 2011 - 6:01 AM
|
Thank you for the suggestion.
|
|
patrick fritzsch
|
Feb 9, 2011 - 12:05 PM
|
Hello, I can set several styles of the ApplicationButton of the ribbon with the ApplicationButtonStyle Property. Actually i would need a button which looks quite greyish-white, where i dont find an appropriate style in the RibbonApplicationButtonStyle enum. Is there a way, how i can skin the button in the way i want to have it? I use currently Elegant UI 3.7 source edition. Thank you very much for your time.
|
|
Technical Support
|
Feb 16, 2011 - 6:07 AM
|
We send an email to your address.
|
|
Technical Support
|
Feb 10, 2011 - 3:19 AM
|
The feature is no supported. But since you have the source code we can tell how you can modify the source code. Please let is know if this is suitable for you.
|
|
patrick fritzsch
|
Feb 10, 2011 - 3:38 AM
|
That’s absolute suitable for me.
|
|
Roberto Párraga
|
Feb 8, 2011 - 9:33 PM
|
Please, indicate how to add controls like Text Box, Combo Box in the new Navigation Bar Control. Roberto
|
|
Technical Support
|
Feb 9, 2011 - 2:12 AM
|
Please use a panel as a navigation bar group content control with a text box and combo box inside. It means that you need to add a new empty group (without items container) to a navigation bar (by clicking a link at the bottom of the properties pane), then on your form create a panel with text box and combo box (or whatever you want) inside, and then select the created panel as a ContentControl property value for the navigation bar group. This is illustrated in the Navigation Bar sample on the Overview page, in the Data Input Control group. If you still have some questions, please tell us, so we will create a small sample project and send it to you.
|
|
Roberto Párraga
|
Feb 8, 2011 - 9:26 PM
|
Hi, would be very useful in a future release of Elegant Ribbon have a control panel DckingPane properties such as Visual Studio. Roberto
|
|
Technical Support
|
Feb 9, 2011 - 4:33 AM
|
Thank you for your suggestion. We will consider adding these features in one of next releases.
|