Subject |
Author |
Date |
|
Mark Matthews
|
May 17, 2009 - 12:18 PM
|
I can open the gallery popup menu programmatically using gallery_Pics.Popup.Show(); but only after I have previously opened it with a mouse click. Is this a bug, or am I missing something. Thanks
|
|
Technical Support
|
May 19, 2009 - 1:17 AM
|
You can use the Gallery.IsPopupOpen property instead. It should work.
|
|
Mark Matthews
|
May 19, 2009 - 6:05 PM
|
Thanks, but that still has the same issue . . .
|
|
Technical Support
|
May 25, 2009 - 12:57 PM
|
We confirm this issue and have fixed it already. Please request the fixed version by email.
|
|
Mark Matthews
|
May 26, 2009 - 6:44 PM
|
|
|
Imgen Wakin
|
May 15, 2009 - 12:40 AM
|
I want to lock the current tab page when in editing mode, means don’t let user navigate away from the current tab page, how can I do this?
|
|
Technical Support
|
May 15, 2009 - 5:10 AM
|
You can do this by setting RibbonTabPage.Enabled to false for all tab pages you want to lock.
|
|
Mark Matthews
|
May 14, 2009 - 5:24 PM
|
I know I can minimize the ribbon through, say, a button press by using the command ribbon1.Minimized = true; and it works fine. However, when I try to minimize it inside the ribbon1_CurrentTabPageChanged function it goes to the "Temporarily displayed controls" state as shown in figure 2 of this link: http://www.prof-uis.com/elegant-ribbon/feature-tour/dotnet_minimize_the_ribbon.aspx#@lt;/p>
I need it to look like figure 1. Basically I’m trying to hide the ribbon for a certain tab. Thanks
|
|
Technical Support
|
May 25, 2009 - 11:26 AM
|
Although it is not the standard behavior, you can implement it like this: private void ribbon1_PreviewMouseDown(object sender, Elegant.Ui.PreviewMouseEventArgs e)
{
if (!ribbon1.Minimized)
{
System.Windows.Forms.Control control = ribbon1.GetChildAtPoint(e.Location);
if (control != null && control.GetType().Name == "RibbonTab"
&& control.Text == ribbonTabPage2.Text
&& ribbon1.CurrentTabPage != ribbonTabPage2)
{
e.Handled = true;
ribbon1.Minimized = true;
}
}
} First, you should handle the ribbonās PreviewMouseDown event. As you can see in the code above, the ribbonTabPage2 is an instance of RibbonTabPage and, when selected, it minimizes the ribbon.
|
|
Mark Matthews
|
May 26, 2009 - 6:45 PM
|
Thanks, I will give it a try.
|
|
Przemyslaw Luniewski
|
May 14, 2009 - 4:03 AM
|
Hi, is it possible to subclass ElegantRibbon controls? MSDN (cit.): All the parts [of a class] must use the partial keyword. Do you declare ER classes as partial? If so, I would like to globally override PopupMenu.OnShowing - can you explain how to do it, please?
|
|
Przemyslaw Luniewski
|
May 14, 2009 - 4:34 AM
|
Okay, this is my mistake, I should derieve from PopupMenu and then override  Anyway, is there any way to add some custom global behaviour to buttons’ PopupMenus? I’d like to disable some PopupMenu’ items depending on some specific conditions, like user name.
|
|
Technical Support
|
May 14, 2009 - 12:42 PM
|
You can enable/disable any of the controls in the popup menu using the Enabled property of the base class. For instance: Elegant.Ui.PopupMenu popupMenu1 = new Elegant.Ui.PopupMenu();
Elegant.Ui.Button button1 = new Elegant.Ui.Button();
button1.Text = "Some text";
popupMenu1.Items.Add(button1); Then you can switch the enabled/disabled button state somewhere in your code in the following way: button1.Enabled = false;
|
|
Przemyslaw Luniewski
|
May 15, 2009 - 12:23 AM
|
|
|
Marco Olimpi
|
May 13, 2009 - 4:01 PM
|
Hi,
It is possilbe to add/remove into a StatusBarPanel a ToogleButton? Now i use this feature on the .Net StarusStrip Control, with this code:
ToolStripStatusLabel Label1 = new ToolStripStatusLabel();
Label1.Text = "Hello World";
statusStrip1.Items.Add(Label1);
Thanks
|
|
Zaharia Octavian
|
Jul 6, 2009 - 8:33 AM
|
Ok then, But I have a user control that contains a zoom functionality. I place the control in a StatusBarPane in the StatusbarControlsArea but at run time the control is not visible? You can try it! The user control is similar with the zoom control in the Internet Explorer located in the status bar. The control consists on a toolbar with a single split button. the control and the toolbar back color is set to Transparent. In design time I can see the control but at run time the control is invisible. The StatusBarPane width has updated because of the width of my control. 
If the picture is not visible then give me an email address to send it to you! Best regards!
|
|
Zaharia Octavian
|
Jul 6, 2009 - 2:59 AM
|
Hi there! Is there a solution to add a custom control to the status bar? or a zoom control is implemented in the .NET distribution that I can position on a status bar?
|
|
Technical Support
|
Jul 6, 2009 - 6:12 AM
|
Yes, you can add a custom control to the status bar. The StatusBar control can have two containers inside: StatusBarNotificationsArea, which is located on the left, and StatusBarControlsArea, on the right. Each of these two containers can have multiple StatusBarPane controls inside. StatusBarPane is used for groupping related user controls and it is the only way to put them inside the status bar. You can add custom controls to the status bar just as standard ones. For more detailes on how to use the StatusBar control, please look at the ’Status Bar’ page in the Controls Sample.
|
|
Technical Support
|
May 14, 2009 - 12:44 PM
|
It is really easy. Take look at the Controls Sample (with source code), that is part of the Elegant UI distribution package. Run the sample and click Status Bar button on the left and see how you can add to/remove different kinds of controls from the status bar.
|
|
Przemyslaw Luniewski
|
May 13, 2009 - 7:55 AM
|
and last thing: please provide a property to get rid of (MDI) ChildForm’s ControlBox. I have a IE-like TabbedMdi and cannot allow users to e.g. minimize child form. I disabled all Min/Max/Close buttons, but I think it would be elegant :) to remove those three completely. Best regards, Przemyslaw Luniewski
|
|
Technical Support
|
May 13, 2009 - 12:55 PM
|
Thank you for your request. We’ll try to add this feature in the future version.
|
|
Przemyslaw Luniewski
|
May 13, 2009 - 7:10 AM
|
Hi again, try running ’Ribbon UI Sample’ and right click on form’s title bar, where title text is... I get the same everytime in my test solution. OS: Vista business aero enabled, VS2008Pro
|
|
Technical Support
|
May 13, 2009 - 9:11 AM
|
We tested it with v.3.2 beta and found no problem. We can provide you with the beta on your request.
|
|
Przemyslaw Luniewski
|
May 13, 2009 - 6:14 AM
|
Hi, first of all, Elegant Ribbon is a fine control :) But I had Vista aero disabled, and to my surprise I noticed painting problems, regarding borders I think. Maybe this is the nag dialog I am getting, or anything else. see: [URL=http://img219.imageshack.us/my.php?image=elegantribbonpaint.jpg][IMG]http://img219.imageshack.us/img219/9224/elegantribbonpaint.th.jpg[/IMG][/URL] when I turn aero on, problem disappears. when tried this ’demo project’ on WinXP I did not notice any problems. when I run demo project (shipped with trial) I notice no problems... until I change something to the project, then it starts to mess painting. fullscreen is okay. i am using VS2008Pro on VistaBusiness hp laptop. 
|
|
Przemyslaw Luniewski
|
May 13, 2009 - 1:00 PM
|
Yes, I’d like to test 3.2 beta, please. I am now testing if I will be able to deploy Elegant Ribbon at affordable time-cost in my recent project before initial submission. About the slow-site: what can I say, in Firefox 2.0 loads gracefully like it should. The IE8 does the background like a sea wave comming in... row by row, from the top of view. Menus take forever to show up, pages load like using dial-up connection. I have Silverlight 2.0 installed, if that makes any difference. I supposed it had something to do with IP I was comming from, but now different IP and I have to use Firefox 2.0 to write this post. And about MDI child controlBox - any chance to expose some property to hide those three small buttons ? Regards, P.L.
|
|
Technical Support
|
May 13, 2009 - 9:01 AM
|
Thank you for your feedback. Could you be more specific about the slowness? We tested the site with IE8 and found no problem.
|
|
Technical Support
|
May 13, 2009 - 8:58 AM
|
Thank you for reporting the bug. It is already fixed. We can provide you with a bug free version immediately on your request.
|
|
Przemyslaw Luniewski
|
May 13, 2009 - 6:17 AM
|
BTW: I also noticed your web portal is very very slow on IE8
|
|
Huseyin Tiryaki
|
May 4, 2009 - 6:47 AM
|
Hi, How can I use drag & drop future on ribbon control? Example: I have create a ribbon button. I want to drag & drop this button on my form. Best regard. Huseyin Tiryaki
|
|
skylar wheaton
|
Apr 19, 2009 - 6:29 PM
|
Basically all im trying to do is create a simple window and fill it with some components, but im getting weird errors when all im trying to do is construct my lables and buttons... so i delcared my first lable, private Elegant.Ui.Label label37; then in my constructor method i am trying to construct it like this. this.label37 = new Elegant.Ui.Label(); but strangly enough im getting this weird error ’System.TypeInitializationException’ occurred in Elegant.Ui.Common.dll The type initializer for ’Elegant.Ui.Control’ threw an exception. i honestly dont understand what is going wrong....
|
|
Petros Petrou
|
Aug 27, 2009 - 5:45 AM
|
Hi, You need to add References to the following too. I had the same problem and it resolved by doing this. Elegant.Ui.Common.Theme.XXX, Elegant.Ui.Ribbon.Theme.XXX Petros
|
|
Technical Support
|
Apr 23, 2009 - 5:50 AM
|
It looks like the component cannot find an assembly with a theme. Make sure that all needed Elegant.Ui.Common.Theme.XXX and Elegant.Ui.Ribbon.Theme.XXX assemblies are installed to the GAC or available in the application directory. If you still have the problem, please, send us a detailed description about the type of exception and error message(any inner exception is also important).
|
|
Michael Dausmann
|
Apr 20, 2009 - 6:37 AM
|
Odd, I tried same and had no problem Ill put down my steps so theres no confusion..... 1) Installed Elegant Ribbon (includes elegant.ui.common i’m using 3.1) 2) New - Windows forms application (I’m using vs2008 but 2005 should be ok.. 2003 does not work btw) 3) add reference to Elegant.Ui.Common 4) Modify form1 code as follows public partial class Form1 : Form
{
private Elegant.Ui.Label label37;
public Form1()
{
this.label37 = new Elegant.Ui.Label();
this.label37.Text = "Hello Elegant.Ui";
this.Controls.Add(this.label37);
InitializeComponent();
}
} Sorry i can’t be more help, mebe post some more info about your error. Michael
|
|
bryan kenneth
|
Apr 16, 2009 - 4:47 PM
|
Hi, I downloaded a trial version of the Elegant Ribbon menu. I did a test deployment of my VS2008 sample application (created using the vb.net setup wizard) to another machine and it crashed everytime. I tried it with 3 different machines. However if I remove the Ribbon menu, theapplication works when deployed to another machine. We’d like to purchase this but we have to make sure first that it deploys with no problem. Please help. Bryan
|
|
Technical Support
|
Apr 23, 2009 - 5:52 AM
|
In your recent post you mentioned that you’d included the Elegant.Ui.Common.dll and Elegant.Ui.Ribbon.dll assemblies in the setup. But it is not enough. The ribbon control always use one of the following themes: Office2007Blue(default), Office2007Back, Office2007Silver or System. This means that you must supply at least one group of resource assemblies with your installation(for instance, Elegant.Ui.Common.Theme.Office2007Blue.dll and Elegant.Ui.Ribbon.Theme.Office2007Blue.dll if you use only Blue theme). You can find them all in the Elegant Ui installation folder. If you have any further questions with this, do not hesitate to contact us.
|
|
Michael Dausmann
|
Apr 19, 2009 - 5:10 AM
|
Hi Bryan Well clearly there is something in the ribbon installation that is not in your application installation. I apologise for my stoopidity but I cant determine what this mysterious missing component is.. hint.. it will be something layed down by the elegant ribbon installation ;/ wtf is with this forum anyway? is there nobody else using this component that can add to this thread in a more convincing way and/or answer my question below? Michael
|
|
Technical Support
|
Apr 17, 2009 - 9:21 AM
|
Thank you for your interest Elegant Ribbon. Could you provide us with more detailes (the exception message, a screen shot, call stack) so we could help you out. Besides please make sure that you included theme assemblies in the deployment package(Elegant.Ui.Common.Theme.XXX.dll, Elegant.Ui.Ribbon.Theme.XXX.dll) for all the themes that you are using.
|
|
Michael Dausmann
|
Apr 16, 2009 - 8:55 PM
|
|
|
Michael Dausmann
|
Apr 16, 2009 - 8:52 PM
|
Hi Bryan Firstly, does the Setup Crash or the deployed application? Assuming it is the latter,perhaps you are not including all of the requisite DLL’s in your setup package. I am only a new user also but I do know that if you use the FormFrameSkinner and visual themes, each of the themes is compiled into dll’s. you may need to include these manually in the Setup. Michael
|
|
bryan kenneth
|
Apr 16, 2009 - 9:12 PM
|
The Setup has included the Elegant.Ui.Common.dll and Elegant.Ui.Ribbon.dll. I use FormFrameSkinner but no visual themes. Bert
|
|
bryan kenneth
|
Apr 16, 2009 - 9:08 PM
|
Hi, The deployed application crashed, not the setup. The problem, however, disappeared after I installed the Elegant Ribbon component in each workstation (although no VS installed). I know I only have the trial version but will this also apply to the "purchased" version? Thanks Bryan
|
|
Michael Dausmann
|
Apr 15, 2009 - 8:34 AM
|
Hi Guys I am having a paint issue when using standard windows buttons inside a Ribbon Group. Steps to reproduce: - add several standard (non Elegant) buttons to a Ribbon Group - run the app (buttons display on ribbon group..all good) - resize the form (smaller) so that the ribbon group collapses to its small form (no buttons on the small form box..all good) - click the ribbon group small form dropdown thingy to get the dropdown view of the ribbon group (shows all buttons in dropdown. view, none on small form thingy.. all good) -click the group again, click off or click another ribbon group so that the dropdown view thingy rolls up.. (the buttons are painted all bunched up on the small form thingy ..doh! looks nasty!) I am using - Elegant Ribbon 3.1 - Visual Studio 2008 (SP1) - .net 3.5 sp1 I need to use standard buttons rather than Elegant UI buttons because I have created custom buttons by heavily extending System.Windows.Forms.Button. Note though, this can be reproduced with completely standard button controls. Hope we can sort this out. I’m really happy with the Ribbon so far, my GUI is looking fantastic and I dont want to change components now Michael Dausmann www.RuleClarity.com
|
|
Technical Support
|
Apr 23, 2009 - 5:20 AM
|
We have reproduced the bug and fixed it.Thank you. It will be available in the next release. We can also provide you with an intermediate version on your request.
|
|
koikoi sige
|
Apr 13, 2009 - 6:45 PM
|
Hi.
How do I set shortcut key to directly access the control placed on the ribbon?
ex) ctrl + X,ctrl + Y
|
|
Technical Support
|
Apr 23, 2009 - 5:53 AM
|
Currently you have to do it manually or using the KeyTips feature. We may add the support for shortcuts in the next release.
|
|
Chris Parniczki
|
Apr 12, 2009 - 5:05 AM
|
Dear Support, It seems CheckedChanged event of RadioButton does not get fired in your library. In your ControlsSample I tried to add an event handler to this event but it never got called. When trying the very same with general Windows Forms Common control radiobutton, it works as expected. I’m using version 3.1. Could you please look into this? Thank you,
Chris
|
|
Technical Support
|
Apr 13, 2009 - 1:32 PM
|
Thank you for reporting the bug. It is fixed and the fix will be available in the next release. If you have a valid subscription, we can provide you with a fix immediately.
|
|
Pavel Murashov
|
Mar 25, 2009 - 7:52 AM
|
After adding "Separator with Text" items in Application Menu and saving/reloading my project these items disappear and turn to the usual "Separator".
|
|
Technical Support
|
Apr 23, 2009 - 5:24 AM
|
Thank you for your assistance. We will try to figure out what causes the problem.
|
|
pvm_mitsar_ltd
|
Mar 20, 2009 - 3:11 AM
|
How I can use resource DLL (Elegant.Ui.Common.resources.dll, Elegant.Ui.Ribbon.resources.dll) for localize Ribbon UI? Thanks.
|
|
Technical Support
|
Mar 25, 2009 - 11:06 AM
|
|
|
Pavel Murashov
|
May 26, 2009 - 6:25 AM
|
It’s work... "Customize Quick Access Toolbar" MENU is russian now. But "Customize Quick Access Toolbar" DIALOG... It’s english still as before :( Can you help me?
|
|
Technical Support
|
May 26, 2009 - 10:19 AM
|
The dialog in question did not support localization in v.3.1 but we added this support now. The new version is coming soon. If you need the feature right away, please request the update by email.
|
|
Technical Support
|
Mar 20, 2009 - 1:54 PM
|
|
|
Pavel Murashov
|
Mar 25, 2009 - 5:47 AM
|
Thanks. I am able to localise the application - forms, strings and other resources. However irrespective of current culture of my application Ribbon has english language ("Customize Quick Access Toolbar" menu and dialog). Elegant.Ui.Common.resources.dll and Elegant.Ui.Ribbon.resources.dll are located in the catalogue ru-RU. I don’t understand as correctly to specify to your component to use these resources...
|
|
Doug Coulson
|
Mar 15, 2009 - 9:50 PM
|
I just upgraded an application that was using Elegant Ribbon 2.2 to the 3.1 version and I have the correct new key in place. It works fine in Visual Studio 2008 (Visual Basic .Net) but when someone installs the deployment set they get an immediate crash saying "the type initializer for ’Elegant Ribbon’ threw an exception". If you can advise me how to get around this I’d appreciate it. I’m running Vista Ultimate.
|
|
Technical Support
|
Mar 19, 2009 - 9:22 AM
|
You wrote
"when someone installs the deployment set"
Are you talking about the installation of your application? Would you provide more details about the problem, like the call stack and error description? It would be Ideally, of course, to get a test project that reproduces the problem.
|
|
Mark Matthews
|
Mar 13, 2009 - 11:46 AM
|
Is it possible to tell the ribbon which controls and/or ribbongroups to resize first when the form is being resized? For example, if I have three ribbongroups and I shrink the form width, controls inside the first ribbongroup start resizing first. I would like the third ribbongroup to resize first. Thanks
|
|
Zaharia Octavian
|
Dec 17, 2009 - 3:48 AM
|
I have a question regarding ribbon group informativeness. How can I indicate the order to change the informativeness level of the buttons inside a group. For example I want to collapse first the right most ones in the group. Is it possible? Or is it possible to define different variants of the group layout like the ones in the Microsoft guidelines paragraph "DEFINING GROUPS FOR RIBBON RESIZING". There it say that I can define/select some group collapse stages. Is this possible? Best regards, Dexter
|
|
Technical Support
|
Dec 17, 2009 - 11:44 AM
|
Unfortunately this feature is not supported. We understand that it may be reasonable in some cases to tune up in which order controls inside a particular group is collapsed. We will consider to add it in one of the next releases. Thank you for your suggestion.
|
|
Mark Matthews
|
Mar 23, 2009 - 1:43 PM
|
|
|
Technical Support
|
Mar 19, 2009 - 8:56 AM
|
You cannot control the order of how the groups are resized. The groups are shrinking depending on the average informativeness level of child controls. But you still can freeze some groups by specifying a fixed informativeness level.
|
|
koikoi sige
|
Feb 27, 2009 - 8:03 AM
|
Hi.
I want to make control toolbox like the visual studio toolbox by using the gallery on ribbon, so I would like to be able to drag and drop from the gallery.
The gallery is posting MouseDown event on the Windows Form when I drag and drop, but it not posting MouseDown event on the ribbon.
|
|
koikoi sige
|
Mar 12, 2009 - 6:50 AM
|
Thanks. I can get mouse notifications.
|
|
Technical Support
|
Mar 3, 2009 - 12:09 PM
|
When you click on a gallery, you are probably hiting a gallery item which handles the mouse event and performs some specific actions. In order to always get mouse notifications, just use the PreviewMouseXXX events that precede regular mouse events.
|
|
Brian Adams
|
Feb 24, 2009 - 11:44 AM
|
Given the code below, if Form2 has an Elegant.Ui.TextBox the TextBox will fail to fire the TextChanged event after the instance of Form2 has closed the first time.
public partial class Form1 : Form
{
Form2 frm = new Form2();
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
frm.ShowDialog();
}
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(0, 0);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 273);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
}
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.Button button1;
}
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
MessageBox.Show(textBox1.Text);
}
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.textBox1 = new Elegant.Ui.TextBox();
this.SuspendLayout();
//
// textBox1
//
this.textBox1.Id = "f52cc16e-3c3a-41ee-836a-28b7df7f96fd";
this.textBox1.LabelText = "";
this.textBox1.Location = new System.Drawing.Point(10, 9);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(75, 21);
this.textBox1.TabIndex = 0;
this.textBox1.Text = "textBox1";
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// Form2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 273);
this.Controls.Add(this.textBox1);
this.Name = "Form2";
this.Text = "Form2";
this.ResumeLayout(false);
}
private System.ComponentModel.IContainer components = null;
private Elegant.Ui.TextBox textBox1;
}
|
|
Brian Adams
|
Feb 26, 2009 - 9:03 AM
|
Actually I would very much like the fix now. It’s causing us a bit of heartache and we are going to have to change architecture of a bunch of screens to destroy and re-create windows if we don’t get it. What do I need to do to get the fix?
|
|
Technical Support
|
Feb 25, 2009 - 1:25 PM
|
Thank you for the bug report. The fix will be available in the next release. We can also send you a bug fix later this week (on your request).
|
|
Brian Adams
|
Feb 26, 2009 - 9:04 AM
|
Actually I would very much like the fix now. It’s causing us a bit of heartache and we are going to have to change architecture of a bunch of screens to destroy and re-create windows if we don’t get it. What do I need to do to get the fix?
|
|
Technical Support
|
Feb 26, 2009 - 9:12 AM
|
Please send a request to support@prof-uis.com so we can provide you with a download link. Please note your should have a valid subscription.
|