|
Subject |
Author |
Date |
|
|
Eric Newhuis
|
Oct 1, 2007 - 9:29 AM
|
I have a ribbon with lots of groups and I’d like tobe able to press TAB to jump from control to control within one group and then to the next group and so on. However, when I press the TAB key while I am editing in a combo box, for example, there is no effect.
How do I enable standard dialog box TAB behavior among all the ribbon groups’ controls?
|
|
|
Technical Support
|
Oct 3, 2007 - 10:04 AM
|
This is not supported in this version (only the standard keyboard navigation is available) and most probably it will be not supported in the next release that is under heavy testing at the moment. However, if you have a license, we can consider this as a feature request and implement this as soon as possible.
|
|
|
Eric Newhuis
|
Oct 1, 2007 - 1:18 PM
|
I see that the ALT works and one can navigate the controls with TAB after pressing ALT.
However once a user starts entering data into a control after a mouse click he can no longer press TAB to move to the next control.
Is there a way to force that the ALT behavior is always enabled when any control has the input focus?
|
|
|
Technical Support
|
Oct 1, 2007 - 11:41 AM
|
We do our best to follow the standard behavior that is described in the Microsoft specification and implemented in Office 2007 applications. So you can see the same keyboard navigation in Elegant Ribbon when you can click ALT and then navigate the controls using Tab, arrow keys and assigned keytips. Please tell us if you considered to use this behavior instead?
|
|
|
Mark Matthews
|
Sep 24, 2007 - 11:17 AM
|
Is there a way to prevent a user from adding a button to the quick access toolbar - or, preferably, to hide the dropdown arrow next to it? In my application, some of the buttons only make sense to use on the tab page they are on, so I don’t want the user to be able place them in the quick access toolbar and press them when that tab page is not in view. I would like to be able to add buttons at design time only.
Thanks
|
|
|
Technical Support
|
Sep 26, 2007 - 7:10 AM
|
Please use the following code class MyRibbon : Ribbon
{
/// <summary>
/// Determines whether the control can be placed into the Quick Access Toolbar. It can be overriden in a derived class.
/// </summary>
/// <param name="control">Control for which the value is retrieved.</param>
/// <returns>The value is true if the control can be placed in the Quick Access Toolbar; false otherwise.</returns>
protected override bool CanControlBePlacedIntoQuickAccessToolbarFilter(IControl control)
{
if(/*control cannot be placed into QAT*/)
return false;
return base.CanControlBePlacedIntoQuickAccessToolbarFilter(control);
}
}
|
|
|
Technical Support
|
Sep 25, 2007 - 11:46 AM
|
We are sorry but we missed the NOT in the first sentence:
You can achieve this by overriding Ribbon.CanControlBePlacedIntoQuickAccessToolbarFilter(), in which just return false for all the controls that should NOT be added to the quick access toolbar.
|
|
|
Technical Support
|
Sep 25, 2007 - 11:11 AM
|
You can achieve this by overriding Ribbon.CanControlBePlacedIntoQuickAccessToolbarFilter(), in which just return false for all the controls that should be added to the quick access toolbar. We understand that you have some specific requirements for some UI objects but please note that the idea of fluent UI implies that every control can be placed into QAT regardless of control’s context.
|
|
|
Mark Matthews
|
Sep 25, 2007 - 4:17 PM
|
Thanks, I see a Ribbon.CanControlBePlacedIntoQuickAccessToolbar, but not a Ribbon.CanControlBePlacedIntoQuickAccessToolbarFilter. I tried overriding Ribbon.CanControlBePlacedIntoQuickAccessToolbar, but I get a "no suitable method found to override" error. I created a class based on the Elegant.Ui.Ribbon class but I can’t get past the compile error. I’m sure it’s something dumb that I’m doing - but not sure what?
|
|
|
Michael Hudgell
|
Sep 4, 2007 - 5:10 AM
|
Could the Elegant.Ui.Command type be extended with a set of properties to let you know if each event has any eventhandlers attatched...
so, for example for the Executed event:
public bool IsExecutedAttatched { get { return (Executed != null); } }
Currently this comparison is privilidged to within the class, and even inheriting from the class doesn’t give one access to do the comparison...
Uses could be to see if you need to enable/disable an option based on whether anything has hooked it etc...
|
|
|
Technical Support
|
Sep 4, 2007 - 9:35 AM
|
The restriction when you cannot know the number of subscribers was made for the reason of better encapsulation of events. There are probably some subtleties in the design of your application, which require what you requested. Would let us know more details so that we can help you?
As for the IsExecutedAttatched-like property, we have never seen this kind of APIs before, and it looks a bit strange for us. Again give us more details (if it is possible) about your app’s design to see what we can do.
|
|
|
Michael Hudgell
|
Sep 5, 2007 - 5:13 AM
|
You are indeed correct... I have come up with a better way of encapsulating the required functionality...
Where is the delete thread button when you need it :-)
Mike
|
|
|
Michael Hudgell
|
Sep 3, 2007 - 8:35 AM
|
Are there any plans to expand the functionality of the RecentDocumentsControl so that it gains features that MS Word uses (like numerical keyboard shortcuts for the top 10 items etc).

I think the ’pin to recently used’ is a bit advanced, but the keyboard shortcuts would be nice, as it isn’t currently accessible unless you use a mouse...
Mike
|
|
|
Technical Support
|
Jun 2, 2010 - 4:17 AM
|
Recent documents pinning is not supported in 3.6 and unlikely will be supported in the next version 3.7.
|
|
|
byter a
|
May 31, 2010 - 5:08 PM
|
Just checking if this feature is implemented in the 3.6 ?
it’s crucial feature for my choice to use this control.
|
|
|
Technical Support
|
Sep 3, 2007 - 10:05 AM
|
Thank you for the feature request. We will consider implementing it in the next release.
|
|
|
Andrew Brown
|
Sep 1, 2007 - 4:29 AM
|
I would like to be able to drag and drop files on to a button on the ribbon. I set AllowDrop=true on the button and handled the DragXXXX events but the events were never called. Does the ribbon support drag and drop?
|
|
|
Technical Support
|
Sep 3, 2007 - 10:03 AM
|
In the current version, you cannot receive DragXXX events directly from a button. We will probably add this functionality in the next version. As a workaround, you can do the following:
1) Set the AllowDrop property of the ribbon to true 2) In the DragXXX events, you receive the current position of the mouse pointer. Use the PointToClient() method of your button in order to determine if the mouse is over the button. If true, perform your drag and drop actions. This should work.
|
|
|
Sven Rutten
|
Aug 31, 2007 - 3:41 AM
|
Hello
What I miss is the Tab-Handling in textboxes. If I press Tab I would expect that the selection would jump to the next control.
Thanks
|
|
|
Technical Support
|
Nov 23, 2008 - 8:25 AM
|
Actually you should enter so called "Selection mode" (by pressing the āAltā key) to navigate through the ribbon controls. Currently you cannot get to the next control after editing a text box simply by pressing āTabā key. We will consider implementing this feature.
|
|
|
Technical Support
|
Aug 31, 2007 - 5:27 AM
|
We have checked the tab-handling in textboxes and it works fine in the ribbon and in the form as well. Please make sure that the TabStop property is set to true and the other controls have correct TabIndex property value. If the problem persists, please send us a project that illustrates it.
|
|
|
Pronay Sharma
|
Nov 17, 2008 - 3:22 AM
|
Hi Even I am facing the same issue. Please can you help me?
Thanks Pronay
|
|
|
Sven Rutten
|
Aug 29, 2007 - 12:21 PM
|
When I create a new form, an put the following code in it:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.Text = "22" MsgBox(Me.Text) End Sub
It shows correctly "22"
When I then put a ribbon onto the form and run it, I get the old name (Form1)
Seems that I cannot set the me.text
|
|
|
Technical Support
|
Aug 31, 2007 - 9:11 AM
|
Thank you for reporting this bug. We reproduced it only on Vista with Aero Glass enabled. It will be fixed in the next release.
|
|
|
Sven Rutten
|
Aug 28, 2007 - 2:01 PM
|
New Ribbon, 2 RibbonGroupbox’s, on each one textbox. Following code: Private Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged If TextBox1.Text = "" Then RibbonGroup2.Visible = False Else RibbonGroup2.Visible = True End If End Sub
Ribbongroup2-visible is only changing when I move my mouse... Tried to use RibbonGroup2.PerformLayout() and RibbonTabPage1.PerformLayout(). Didnt work...
|
|
|
Technical Support
|
Aug 30, 2007 - 11:07 AM
|
We will check it. Please try the RibbonTabPage1.Invalidate() method.
|
|
|
Sven Rutten
|
Aug 30, 2007 - 12:25 PM
|
|
|
|
|
Sven Rutten
|
Aug 28, 2007 - 7:45 AM
|
I found a really annoying bug. If I have a elegant.ui.textbox on a ribbontabpage, and I have a standard textbox (or something else that can get focus) on the Form itself, then when I press the "Alt" or "Alt Gr"-key, it is jumping from the elegant.ui.textbox to the other control.
As I need the AltGr for entry (on several keyboards you need it to enter "@" and other letters), that’s really annoying. Is there a workaround available?
Thanks
Sven
|
|
|
Technical Support
|
Aug 28, 2007 - 12:57 PM
|
Thanks again. We have found the problem and now it is ok. Unfortunately there is no workaround until the next release
|
|
|
Sven Rutten
|
Aug 28, 2007 - 1:59 PM
|
Do you already know when the next release will be available?
|
|
|
Sven Rutten
|
Aug 28, 2007 - 7:48 AM
|
Btw. same behavier here:
If I use the AutoCompleteMode (Suggest) (which is btw a superb thing, thanks!), and I enter something, than it is suggesting. But if I try to click on the suggestion, the suggestion disappears and the focus goes to the textbox which is not on the ribbon...... :-(
|
|
|
Technical Support
|
Aug 30, 2007 - 11:08 AM
|
Thank you. We will look into the problem. We think it will fixed in the next release.
|
|
|
Sven Rutten
|
Aug 28, 2007 - 7:24 AM
|
Hello again
A question: Shouldnt TabPages.Insert(1, x) insert the tabpage "x" at the second place?
if I use this:
If Ribbon1.TabPages.Contains(editcard) = False Then Ribbon1.TabPages.Insert(1, editcard) End If
It just inserts the tabpage at the end of all tabpages...
Thanks
Sven
|
|
|
Technical Support
|
Aug 28, 2007 - 12:56 PM
|
Thank you for the bug report. We have just fixed it. The fix will be available in the next release
|
|
|
Sven Rutten
|
Aug 28, 2007 - 5:22 AM
|
Hello
I have the following Code:
Private Sub Ribbon1_CurrentTabPageChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Ribbon1.CurrentTabPageChanged If Ribbon1.CurrentTabPage Is RibbonTabPage2 Then Label1.text = "Hello" End If End Sub
Now if I switch to RibbonTabPage2, I expect the label1 (which is on the Ribbon) to change to "Hello". The code does work, but the label doesnt change. Only when I resize my form, it suddenly appears. Seems like it does not redraw itself.
But when I run a label1.refresh() after the code, it doesnt change neither.
How can I solve that?
Thanks
Sven
|
|
|
Sven Rutten
|
Aug 28, 2007 - 5:25 AM
|
Ok I see the problem:
The label1 has a text of nothing at the start. if I change the text of the label1 to "Hello" in Ribbon1_CurrentTabPageChanged, it is drawing the text, but the width of the label seems still to be 0, so you cannot see it.
If I have an initial text of "Yes", and I change it to "Hello" in Ribbon1_CurrentTabPageChanged, then only "Hel" is drawn.
|
|
|
Technical Support
|
Aug 28, 2007 - 7:04 AM
|
Thanks for reporting the problem. We will fix it in the next release. As a workaround, you can call PerformLayout() for the ribbon group that contains the label.
|
|
|
Sven Rutten
|
Aug 28, 2007 - 7:23 AM
|
|
|
|
|
Sven Rutten
|
Aug 27, 2007 - 9:05 AM
|
Hello
Can you change the default code generation if I press on a control in Designer mode to the default controls ones?
Example if I Doubleclick on combobox in designer mode, I get:
Private Sub ComboBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.Click End Sub
The default controls generate:
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged End Sub
Not a big thing but I guess we all are just used to it :-)
Thanks
|
|
|
Technical Support
|
Aug 27, 2007 - 9:20 AM
|
Thank you for the suggestion. We will change this in the next release.
|
|
|
Sven Rutten
|
Aug 28, 2007 - 5:07 AM
|
|
|
|
|
Daniel Protopopov
|
Aug 26, 2007 - 5:07 AM
|
Hi there, I’m having problems using Help Provider with CHM file and Elegant Ribbon. I set up it exactly as specified, yet in my simple project (ContextHelp) it works fine, while it doesn’t work in primary project where I use Elegant Ribbon. It doesn’t work when I click on Title Bar’ Help button and doesn’t work when I focus or partially click on the button I want to get the help from.
Could you please verify this as my project is nearing completion and I would be very disappointed if I am to remove Elegant Ribbon due to such error.
Thank you.
|
|
|
Technical Support
|
Aug 27, 2007 - 9:19 AM
|
Would you provide some more details about the problem? It would be great if you could send us a sample project and describe exactly what does not work. If you mean the help button in the upper right corner of the ribbon, you could subscribe to the event Elegant.Ui.Ribbon.HelpButtonClick in order to display the help.
|
|
|
Mark Matthews
|
Aug 24, 2007 - 2:17 PM
|
I like the new progress bar for the StatusBar - I actually just want to use it like a LED, changing the color to indicate something is happening in my app. Is there a way to change the starting and ending color gradient?
Thanks
|
|
|
sumit saxena
|
Mar 10, 2008 - 1:40 AM
|
I also would like to know how to show the progress or processing of the application on the ribbonbar.
I have tried it by loading different png into the Ext filebutton but the image that gets loaded first is not changing.
Is it possible to show the progress in this way?
|
|
|
Technical Support
|
Aug 26, 2007 - 9:26 AM
|
You cannot simply set the staring and ending colors because all of the of existing controls in Elegant Ribbon are skinned using bitmaps. Still, we can suggest you two solutions. First, you can use your own custom control in the progress bar as a LED. If you do not really need progress bar features in the LED, we can provide you the code. Second, if you do need progress bar features, you can completely repaint the progress bar by using your own bitmaps. We can assist you here too. Please tell us which is more appropriate for you.
|
|
|
Michael Hudgell
|
Aug 20, 2007 - 7:16 AM
|
Did contextual tabs make it into the 2.1 release?
|
|
|
Technical Support
|
Aug 20, 2007 - 9:05 AM
|
Contextual tabs is the first feature that will be added in the next release. We are working on this feature right now. Initially we planned to include this feature in v.2.1 but that would take some more time than expected so we decided to put it off until the next release.
|
|
|
Sven Rutten
|
Aug 28, 2007 - 6:51 AM
|
|
|
|
|
kaphyeon jeong
|
Aug 16, 2007 - 3:33 PM
|
How to add DateTimePicker on Ribbon ?
|
|
|
Technical Support
|
Oct 12, 2007 - 4:35 AM
|
Version 2.2 is being tested and will be released soon. In version 2.3 we plan to add support for generic controls in the ribbon. That is to allow you to drop on the ribbon not only the controls that come with Elegant Ribbon but also other controls available in the toolbox. So if there is no control in Elegant Ribbon, you will have a choice of using a similar control available in the toolbox,
|
|
|
Eric Newhuis
|
Oct 3, 2007 - 10:55 AM
|
I think this is critical for my apps. But it might be better to add support for custom controls so we can embed any control of our choosing. The controls you have are nice. But a ribbon limited to the most basic set of controls you develop is far too limiting a restriction.
|
|
|
Technical Support
|
Aug 17, 2007 - 5:56 AM
|
We plan to add a date/time picker control in one of the next versions.
|
|
|
Craig Monro
|
Oct 11, 2007 - 7:57 PM
|
Will your implementation of this solution allow more generic controls (eg UserControls) to be added to the ribbon, or will it be special, like the existing (and aptly named) elegant controls?
|
|
|
Gary Blohm
|
Aug 15, 2007 - 2:52 PM
|
How do you add menu items to the dialog launcher button? I tried using the on click event but did not know what controls to show in order to get a menu to pop up? Do you have any examples of customizing the dialog launcher button?
thanks,
John
|
|
|
Technical Support
|
Aug 16, 2007 - 5:16 AM
|
The Office 2007 UI behavior implies that dialog launcher buttons should act as regular push buttons. If you decided on the dialog launcher button to work as a drop-down button, this may be confusing for the users, which are used to the Office 2007 UI. What do you think about this?
|
|
|
Andrew Brown
|
Aug 15, 2007 - 12:56 PM
|
I’d like to paint my custom controls to match the style of the currently selected theme so how can I get access to the colours being used to paint backgrounds, borders etc.
|
|
|
Technical Support
|
Aug 16, 2007 - 5:08 AM
|
In Elegant UI there is no such a thing like the system color set in Windows. Every themed control is painted using a skin object of class derived from Elegant.Ui.ControlSkin. Every skin object contains a collection of objects derived from the Elegant.Ui.ControlPaintInformation class which is used for storing paint information for every UI state that control supports (like hovered, pressed, disabled, etc). In the most cases the control background is painted with bitmaps. Anyway, tell us what kind of control do you want to paint so we can come up with a solution.
|
|
|
Andrew Brown
|
Aug 16, 2007 - 2:58 PM
|
It would be enough for me to know the active colours being used for the backgrounds of Elegant.Ui.Panel and Elegant.UI.TextBox and the border and text colour of Elegant.UI.TextBox. Is it possible to get these from properties somewhere?
|
|
|
Technical Support
|
Aug 17, 2007 - 5:55 AM
|
You can retrieve the background color of Elegant.Ui.Panel using the following code PanelSkin panelSkin = (PanelSkin)SkinManager.GetSkin("Panel");
Color panelBackColor = panelSkin.GetPaintInformation(ControlState.Normal).BackgroundGlyph.BackgroundColor;The code below allows you to get the border color and the text color of Elegant.Ui.TextBoxTextBoxSkin textBoxSkin = (TextBoxSkin)SkinManager.GetSkin("TextBox.TextBox");
TextBoxPaintInformation textBoxPaintInformation = (TextBoxPaintInformation)
textBoxSkin.GetPaintInformation(TextBoxState.Normal); // This way you can get paint information for any textbox state
Color borderColor = textBoxPaintInformation.BorderGlyph.BackgroundColor;
Color textColor = textBoxPaintInformation.ForegroundColor;
|
|
|
Andrew Brown
|
Aug 17, 2007 - 12:31 PM
|
That’s perfect, thank you!
|
|
|
Michael Hudgell
|
Aug 15, 2007 - 7:14 AM
|
Is there any way to get the value of the current skin/theme?
I know we can use Elegant.Ui.SkinManager.LoadEmbeddedTheme() to load one of the three default themes, but how do we tell which theme is currently selected?
|
|
|
Technical Support
|
Aug 15, 2007 - 9:23 AM
|
There is no way to get the active skin at the moment, so you should manage this information yourself. We will consider adding an appropriate property in the next version.
|
|
|
Sven Rutten
|
Aug 14, 2007 - 1:58 AM
|
|
|
|
|
Technical Support
|
Aug 14, 2007 - 11:17 AM
|
We are sorry for the delay. We have just uploaded it to the site so you can download it. Many thanks for reporting the bugs in v.2.0.
|