Subject |
Author |
Date |
|
First Name Surname
|
Dec 22, 2009 - 11:18 AM
|
Hello,
I have the following questions regarding the ribbon UI control.
(1) I noticed that you don’t have support for the splitbutton/toggle button. I saw someone had posted about this in June. Does the most recent update (Dec21) add this?
(2) Is there any way to add a zoom slider in the status bar, similar to the MS Office applications?
(3) Is there any way to add a slider to the ribbon control (on a tab)? I need a slider style input from 1-100.
(4) How can I add an image to the status bar? Similar to MS Paint, the position and size icons.
Thanks!
|
|
Technical Support
|
Dec 24, 2009 - 3:49 AM
|
1. We haven’t implemented a toggle-based split button yet. Unfortunately, it has low priority comparing to other controls, such as dockable control bars. 2. A zoom slider is not supported yet, it may be implemented in the spring. 3. The slider control is not supported so you can only use a standard one from Windows Forms without support for Elegant Ui visual themes. 4. You can use a disabled button and a label control in pair to achieve the proper visual effect. Please let us know if you have any encounter any problems with this.
|
|
Imgen Wakin
|
Dec 18, 2009 - 5:11 AM
|
Hi, guys. I remember that last week one guy told me that the new release was due to this week. But hey, it’s the weekend and still no sign of the new release. I’ve been expecting the new version for ages and you can imagine how disspointed I am. Any news on the release date of v3.4?
|
|
Technical Support
|
Dec 18, 2009 - 11:20 AM
|
The new version is ready. We are in the middle of preparing to publish it. It will be online as soon as possible. Sorry for this inconvenience.
|
|
koikoi sige
|
Dec 18, 2009 - 12:00 AM
|
Hi.
I maximize and close MDI ChildForm2,and restore MDI ChildForm1,remain RibbonMdiButtonStrip.
Visual Studio 2005,C#
Elegant Ribbon v3.3.0.0
Add Form1(Rename ParentForm) and Form2(Rename ChildForm).
Add ribbon1 on the ParentForm.
a part of source code of ParentForm
public partial class ParentForm : Form
{
ChildForm childForm1 = new ChildForm();
ChildForm childForm2 = new ChildForm(); public ParentForm()
{
InitializeComponent();
this.IsMdiContainer = true;
childForm1.MdiParent = this;
childForm2.MdiParent = this;
childForm1.Text = "ChildForm1";
childForm2.Text = "ChildForm2;
childForm1.Show();
childForm2.Show();
}
}
Run and maximize ChildForm2 and close ChildForm2 and
restore ChildForm1.
Result:
Remain RibbonMdiButtonStrip of not maximized ChildForm1.

Thanks.
|
|
Technical Support
|
Dec 18, 2009 - 11:21 AM
|
This is already fixed. Thank you. The fix will be available in v.3.4, which will be released very soon.
|
|
Kip Ping
|
Dec 17, 2009 - 10:37 AM
|
I am placing a panel with docking set to ’fill’ in a form with a statusbar docked at the bottom. After doing that the panel is docking to the bottom of the form so that part of it is hidden behind the status bar. I tried undocking both controls and docking them in different orders programatically, but that doesn’t help. Is there some way to dock the status bar so that other controls will not dock behind it?
|
|
Kip Ping
|
Dec 17, 2009 - 4:09 PM
|
I had the child status correct, but you are correct that the bring to front solved the problem. Thank you.
|
|
Technical Support
|
Dec 17, 2009 - 11:19 AM
|
Make sure that you didn’t put the status bar as a child of the panel. Then right click on the panel in the designer and select Bring to front. This should help.
|
|
Shaine MaGuire
|
Dec 12, 2009 - 3:24 PM
|
Hi all, I am currently using v3.1 of Elegant Ribbon (will upgrade soon) and I am having a problem with setting the property called CustomTitleBarEnabled to true. It wont allow me to set it to true. It stays at a value of False. Any suggestions?
|
|
Technical Support
|
Dec 14, 2009 - 6:21 AM
|
The true value of the Ribbon.CustomTitleBarEnabled property takes effect only under following conditions:
- The ribbon control is docked to the top of the parent form.
- The ribbon and its parents are visible.
- The parent form is large enough to display the ribbon(i.e. its size is equal to or greater than 300 x 250).
If you set it to true but any of these conditions is not met, this true value is kept and will be applied as soon as the conditions are met. So the Ribbon.CustomTitleBarEnabled property getter returns the actual state of the custom title bar while the setter remembers the value and applies it immediately or later when it is possible.
|
|
Sublight Developer
|
Dec 12, 2009 - 6:18 AM
|
|
|
Technical Support
|
Dec 18, 2009 - 11:27 AM
|
Thank you for the bug report. We will look into the problem.
|
|
Imgen Wakin
|
Dec 9, 2009 - 10:19 PM
|
I’m pretty satisfied with the current v3.3 release features with a office 2010 like theme. But I’m also look forward to next release. Hopefully it will have a office 2010 like backstage view control and a floating mini toolbar will be a bonus. Are the two features included? And when will you guys release the next version? One month later? Or two. No need to be specific, but the approximate date. Please give a quick answer so I can decide whether wait for your implementation in next version or just implement by myself.
|
|
Technical Support
|
Dec 10, 2009 - 6:14 AM
|
Thank you for the feature request. The next version, v.3.4, is scheduled for release later in December. Unfortunately it doesn’t contain these features. But the backstage view is scheduled for release in February 2010. We hope its beta will be released earlier. As for the floating mini toolbar, we plan to add it a bit later. We have a list of features that we plan to add including but not limited to dockable panels and tabbed MDI so it is not always obvious which feature should go first.
|
|
Imgen Wakin
|
Dec 11, 2009 - 7:28 AM
|
Thank you for your quick response. Call me crazy, but I want to know what new features you are adding or changes you’re making to the v3.4 release compare to v3.3? I’m sorry that I’m so impatient.
|
|
Technical Support
|
Dec 11, 2009 - 3:16 PM
|
The features include a new Windows 7 theme for the ribbon, masked edit, better performance, configurable collapse order for ribbon groups, bug fixes and more. We plan to release it next week.
|
|
Imgen Wakin
|
Dec 11, 2009 - 8:28 PM
|
That’s good. I can’t wait to try it out. Esp the better performance. I can’t wait to try it out.
|
|
Imgen Wakin
|
Dec 9, 2009 - 10:20 PM
|
I know the backstage view is a non trivial task so I won’t hold my breath waiting for it.
|
|
Shaine MaGuire
|
Dec 8, 2009 - 8:46 PM
|
Hi all, I have added some images to my resources area in Visual Basic 2005 Professional and I am looking to add images to the .LargeImage.Normal property via code for the Ribbon.Button in Elegant Ribbon v3.1. The image itself is in the My.Resources namespace. How do I add this? I am asked to enter in a "state as system Enum" but not sure what that means. Thanks in advance
|
|
Technical Support
|
Dec 9, 2009 - 4:10 AM
|
If you just want to add a large image for the Normal state, use Control.DefaultLargeImage property. Otherwise, the type of enum for the SetImage method depends on the control you are using. For an Elegant.Ui.Button control it is the Elegant.Ui.ButtonState enum so in this case you should use the SetImage method like as follows: button1.LargeImages.SetImage(Elegant.Ui.ButtonState.Normal, My.Resources.image1)
|
|
koikoi sige
|
Dec 7, 2009 - 10:51 PM
|
Hi.
I redisplay MDI Child Form,,but getting OutOfMemoryException.
The message is "Error creating window handle".
Add Form1(Rename ParentForm) and Form2(Rename ChildForm).
Add button1 and button2 on the ParentForm.
a part of source code of ParentForm
public partial class ParentForm : Form
{
ChildForm childForm1 = new ChildForm();
ChildForm childForm2 = new ChildForm(); public ParentForm()
{
InitializeComponent();
this.IsMdiContainer = true;
childForm1.MdiParent = this;
childForm2.MdiParent = this;
childForm1.Show();
childForm2.Show();
} private void button1_Click(object sender, EventArgs e)
{
childForm1.Show();
}
private void button2_Click(object sender, EventArgs e)
{
childForm2.Show();
}
}
a part of source code of ChildForm
public partial class ChildForm : Form
{
void ChildForm_FormClosing(object sender, FormClosingEventArgs e)
{
if (e.Cancel == false)
{
e.Cancel = true;
this.Visible = false;
}
}
}
Run and Close ChildForm1 and ChildForm2.
Push the button2.
Result:
Error was displayed , saying that "Error creating window handle".
Thanks.
|
|
Technical Support
|
Dec 8, 2009 - 12:12 PM
|
Thank you for the bug report. We reproduced it succesfully and will include the fix in the upcoming release.
|
|
koikoi sige
|
Dec 7, 2009 - 11:17 PM
|
correction.
Add button1 and button2 on the ParentForm.
->Add button1 and button2 and "ribbon1" on the ParentForm.
|
|
Wojciech Kaszowski
|
Dec 7, 2009 - 8:34 AM
|
Removed by Admin because of bad formatting.
|
|
Technical Support
|
Dec 7, 2009 - 11:46 AM
|
Thank you for your report. Unfortunately we failed to reproduce what you have reported. At least we cannot reproduce the problem with Ribbon UI sample. May it be that there is some specific context that causes this behavior? Could you elaborate on this?
|
|
Wojtek K
|
Dec 8, 2009 - 2:17 AM
|
|
|
Technical Support
|
Dec 8, 2009 - 9:33 AM
|
|
|
Wojtek K
|
Dec 9, 2009 - 2:28 AM
|
Thank you for your advice!
I’ve downloaded the setup you recommended and the error doesn’t occur.
Previously I was using also 3.3 version but the setup file was ElegantRibbonSetup-v.3.3.exe (32 116 716 bytes).
|
|
Wojtek K
|
Dec 7, 2009 - 8:40 AM
|
if it is possible delete the previous post please.... (unfortunately I did not turn html editor off)...
I’m trying now the 3.3 version (earlier I was using the 3.1 version and there was no problem with maximizing/minimizing).
When I put the quick access toolbar below the ribbon there is a problem with maximizing the ribbon. When I first click the ribbon tab title the whole ribbon control is turn minimized (standard action) and then I click tab title again and expected action is to maximize whole ribbon... unexpectedly there an error is shown:
System.ArgumentException: Element ’child’ nie jest formantem podrzędnym dla tego formantu. w System.Windows.Forms.Control.ControlCollection.GetChildIndex(Control child, Boolean throwException) w System.Windows.Forms.Control.ControlCollection.GetChildIndex(Control child) w Elegant.Ui.Ribbon.set_Minimized(Boolean value) w Elegant.Ui.RibbonTab.OnDoubleClick(EventArgs e) w Elegant.Ui.Control.Elegant.Ui.IControlInternal.InvokeDoubleClick(MouseEventArgs e) w Elegant.Ui.Control.OnDoubleClick(IControlInternal control, EventArgs e) w Elegant.Ui.Control.OnDoubleClick(EventArgs e) w System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) w System.Windows.Forms.Control.WndProc(Message& m) w Elegant.Ui.Ribbon.WndProc(Message& m) w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|
|
Sublight Developer
|
Dec 6, 2009 - 2:15 AM
|
|
|
Technical Support
|
Dec 7, 2009 - 11:55 AM
|
Thank you for reporting this issue. It is fixed. The fix will be available in the next release, which is coming soon.
|
|
Shaine MaGuire
|
Dec 5, 2009 - 7:49 PM
|
I have added a Tab Page in Elegant Ribbon v3.1 and then added a RibbonGroup. Then to that RibbonGroup, I added a Button. I went to add an image in ICO format to the button but it’s not displaying in the button. It displays within the properties page without issue but not on the button in design time or run time. Please advise.
|
|
Shaine MaGuire
|
Dec 5, 2009 - 8:11 PM
|
OK, i have found it now after playing around with the properties. You add the image of your choosing to the LargerImages section in the properties pane under the Normal property
|
|
koikoi sige
|
Dec 3, 2009 - 6:24 AM
|
Hi.
I change theme,but getting ArgumentException:
Visual Studio 2005.C# Elegant Ribbon v3.3.0
Create VS2005 Project. Add Form1 and Form2 Add button1 on the Form1 Add ribbon1 and comboBox1 on the Form2.
a part of source code of Form1
private void button1_Click(object sender, EventArgs e) { Form2 form2 = new Form2(); form2.Show(); }
a part of source code of Form2
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { switch (comboBox1.SelectedIndex) { case 0: SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2007Blue, Product.Ribbon); break; case 1: SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2007Black, Product.Ribbon); break; case 2: SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2007Silver, Product.Ribbon); break; } }
Run and push the button1 to show the form2. Close the form2. Push the button1 again and select list of comboBox1 to change theme.
Result: Error was displayed , saying that "ArgumentException".
Can I change theme of re-display ribbon form?
Thanks.
|
|
koikoi sige
|
Dec 3, 2009 - 6:50 PM
|
Yes.The exception message is ’child’ is not a child control of this parent." Thanks.
|
|
Technical Support
|
Dec 3, 2009 - 7:19 AM
|
We successfully reproduced the bug. Could you confirm that the exception message is "’child’ is not a child control of this parent."? If it is we fixed it, the fix will be available in the upcoming release.
Thank you.
|
|
Alex Pag
|
Nov 30, 2009 - 3:41 AM
|
1. Elegant.Ui.DateTimePicker - it would be good existed buttons of change of year for this control. 2. Elegant.Ui.Panel - I have MDI project and i placed panel-control in my child form. When i open my child form then the panel load in a slower pace .I can do something in this case? 3.Elegant.Ui.ComboBox - I add some items in my control. I need when i open items list and press some symbol (a,b or something else) in my keyboard it changes selected item automatically with base of letter that I have stepped.
|
|
Technical Support
|
Dec 1, 2009 - 5:12 AM
|
1. Could you clarify your question? 2. It is quite strange. Could you send us a test project that illustrates the issue. 3. Do you mean auto-selection in combo-box drop-down list? If yes, this is not currently supported.
|
|
Alex Pag
|
Nov 30, 2009 - 3:46 AM
|
Elegant.Ui.DateTimePicker - if i try write 1920 in control then year change automatically 2020...what can i do?
|
|
Technical Support
|
Dec 1, 2009 - 5:13 AM
|
We confirm that this is the case. We will fix it as soon as possible. Thank you.
|
|
Eric LeVin
|
Nov 26, 2009 - 8:16 AM
|
Hello,
How can I hide a popup menu?
When a button on the popup is clicked, the code takes a moment to run. During this time, the popup is frozen and on top of all active windows.
I’m trying to find out how to force the popup to hide (and if necessary redraw the form). I’ve tried calling popup.hide, doevents, etc., but the popup remains visible.
Thanks for your help!
|
|
Eric LeVin
|
Dec 8, 2009 - 4:08 AM
|
Its working now...thanks.
|
|
Eric LeVin
|
Nov 30, 2009 - 8:26 AM
|
Thanks for the reply.
I tried the suggestion, but it is not working. using ’ popup.hide(false) ’ causes the popup to fade somewhat, but it is still visible.
I also tried adding this code after popup.hide:
do application.doevents loop until popup.visible=false
.....but the popup says it is hidden while it is still visible.
I can’t run this particular code in a background thread because it needs to be on the UI thread.
Thanks for your help!
|
|
Technical Support
|
Dec 1, 2009 - 7:55 AM
|
You can obtain the Form object(the main popup window) by calling Popup.GetForm() before you hide the popup. Using its properties you can know whether the main popup window is still visible or not. Please tell us about the results.
|
|
Technical Support
|
Nov 26, 2009 - 11:06 AM
|
Try an overloaded Popup.Hide() method as follows: Popup.Hide(false) This forces the popup to hide without animation which is the only way to hide the popup if you execute your handling code in the same thread as popup’s. Alternatively you can run the handling code in a separate thread so you don’t need to invoke the Hide() method: the popup menu hides in the background while your code is executing in a parallel thread.
|
|
Noah Fehrenbacher
|
Nov 25, 2009 - 11:21 AM
|
1. In your RibbonUISample, how does this sub (Protected Overrides Sub PaintBackground) get called (ControlPanel.vb)? I tried finding it in MainForm.vb but was unsuccessful. 2. To learn your ribbon tool, I’ve tried duplicating your code in my own sample application, which can’t seem to access this sub. I was unable to use the "Overrides" descriptor in my app due to the error: "Cannot use overrides because sub Paintbackground does not override a sub in the base class". These two questions are related any help would be great. Thanks in advance.
|
|
Technical Support
|
Nov 25, 2009 - 12:55 PM
|
Actually, the ContentPanel class from RIbbonUiSample is inherited from the Elegant.Ui.Panel class which is part of Elegant.Ui assembly. The PaintBackground method is declared in the Elegan.Ui.Control class and invoked by its implementation. If you do not derive your class from the Elegant.Ui.Control or its inheritors than you should override the standard System.WIndows.Forms.Control.OnPaintBackground method instead.
|
|
Kip Ping
|
Nov 24, 2009 - 4:23 PM
|
Is it possible to place user controls on the ribbon? I have a user control that was created from a MS textbox, but I cannot seem to put it into the ribbon.
|
|
Technical Support
|
Dec 18, 2009 - 11:23 AM
|
Probably, it has nothing to do with the ribbon control. From which text box did you derive your custom control: the standard or Elegant.Ui.TextBox?
|
|
Kip Ping
|
Dec 18, 2009 - 11:48 AM
|
It is from the standard textbox. If I click on the form, it is available in the toolbox. I can drag it from there onto the ribbon and the ribbon seems to accept it, but if I click on the ribbon first, the custom component tab disappears so that it is not available. While the first way seems to work, the event that is supposed to fire on validation does not happen when the field is exited which makes me think it isn’t working correctly even though I got it into the ribbon.
|
|
Technical Support
|
Dec 19, 2009 - 10:03 AM
|
The reason for that behavior is that the ribbon itself cannot be the parent of a text box. The only container for the text box inside the ribbon is a ribbon group. You should select a ribbon group in the designer to make your text box visible in the toolbox. As for the Validating event, the ribbon control is more like a menu so the Validating event is not supported for the standard controls inside the ribbon, you can subscribe the text box LostFocus event instead.
|
|
Kip Ping
|
Dec 17, 2009 - 6:37 AM
|
I have a custom textbox that I created. If I go to a standard windows form it is available as a component in the toolbox. When I click on an area of the ribbon bar though, that component disappears so that I cannot drag it onto the ribbon.
|
|
Technical Support
|
Nov 24, 2009 - 4:31 PM
|
Yes, using the UserControl inside the ribbon group is supported. How the problem manifests itself?
|
|
Alex Pag
|
Nov 24, 2009 - 2:39 AM
|
static void Main() {
ProcessDpiAwareSettings.IsProcessDpiAware = true;
SkinManager.DefaultTheme = EmbeddedTheme.Office2007Black;
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
} and after i change theme for my forms and elements like this SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2007Blue, Product.Common); but the Ribbon elemnt it does not change. only the moment where it opens the program. What can i do?
|
|
Alex Pag
|
Nov 30, 2009 - 12:04 AM
|
thanks...now it works...))
|
|
Technical Support
|
Nov 24, 2009 - 7:07 AM
|
Find the line
SkinManager.LoadEmbeddedTheme(EmbeddedTheme.Office2007Blue, Product.Common); and replace Product.Common with Product.Ribbon .
|
|
Noah Fehrenbacher
|
Nov 23, 2009 - 3:40 PM
|
In the Office 2007 Word Application for example. Under the main button (top left circular button with the "New", "Save", "Save As", buttons etc. each button under the "Save as" option has some button description text. Is their a way to show this information using your ribbon tool?
|
|
Technical Support
|
Nov 23, 2009 - 5:27 PM
|
Yes, you can set a description text using a DescriptionText property. Than you will need to set an Informativeness.FixedLevel property to LargeWithDescription .
|
|
Lionel Keene
|
Nov 22, 2009 - 3:31 PM
|
Hello,
I’ve noticed that when placing a Panel control in a ribbon group and then dropping a TextBox control on it, the LabelText property no longer responds and the text is not visible as a result. This happens with both the original ribbon Panel as well as the transparent one. I haven’t tried setting the LabelText property programmatically, but it can’t be set with the Properties window when the control is sitting on a Panel that’s for sure. Is this by design? Thank you.
-L
|
|
Technical Support
|
Nov 23, 2009 - 7:19 AM
|
The Elegant.Ui.TextBox supports four levels of informativeness(see Adjusting adaptive layout): • TextBox • TextBoxWithImage • TextBoxWithLabel • TextBoxWithImageAndLabel
Each level defines the amount of information that control displays. By changing the informativeness level, you can regulate how much the control is informative and how much space it takes up. When a TextBox is inside a ribbon group, its informativeness, by default, changes automatically depending on the width available for the ribbon. When a TextBox is a child of some other container like a Panel, you should manually set the infromativeness level. If you want a TextBox to display the label text, set its Informativeness level to TextBoxWithLabel.
|