Subject |
Author |
Date |
|
Helmut Wahrmann
|
Jun 1, 2010 - 2:37 PM
|
Looks like setting the SelectedIndex = 0 does not work.
i have a ComboBox which i fill like that:
private List<Item> encoders = new List<Item>();
encoders.Add(new Item("MP3 Encoder", "mp3", "")); encoders.Add(new Item("OGG Encoder", "ogg", "")); encoders.Add(new Item("FLAC Encoder", "flac", "")); encoders.Add(new Item("AAC Encoder", "m4a", "")); encoders.Add(new Item("WMA Encoder", "wma", "")); encoders.Add(new Item("WAV Encoder", "wav", "")); encoders.Add(new Item("MusePack Encoder", "mpc", "")); encoders.Add(new Item("WavPack Encoder", "wv", "")); comboBoxRipEncoder.DisplayMember = "Name"; comboBoxRipEncoder.ValueMember = "Value"; comboBoxRipEncoder.DataSource = encoders;
comboBoxRipEncoder.SelectedIndex = 0; // This does not select the first entry in my list: "MP3 Encoder" comboBoxRipEncoder.SelectedIndex = 1; // This selects correctly the second item in my list "OGG Encoder"
public class Item { public string Name; public string Value; public string ToolTip;
public Item(string name, string value, string tooltip) { Name = name; Value = value; ToolTip = tooltip; }
public override string ToString() { // Generates the text shown in the combo box return Name; } }
|
|
Gianpaolo Rocchi
|
Feb 12, 2012 - 10:19 AM
|
Hi, I have the very sma problem using 4.2. Is it possible? If so, can you please prvide a fixed assembly ASAP?
|
|
Technical Support
|
Jun 3, 2010 - 6:49 AM
|
|
|
Technical Support
|
Jun 2, 2010 - 7:51 AM
|
Thank you for reporting the bug. We have already fixed it so the fix will be available in version 3.7. There are two options to workaround this bug right now:
1. We provide you with the updated Elegant.Ui.Common assembly which has the bug fix. You will have to install it into the GAC manually. 2. Tell us where exactly you initialize the combo box so we can suggest a workaround.
|
|
Helmut Wahrmann
|
Jun 2, 2010 - 12:59 PM
|
As i have several Combo Boxes, i’d prefer to have an updated assembly.
|
|
Helmut Wahrmann
|
Jun 1, 2010 - 1:43 PM
|
I’m adding a Textbox with a label to a Group and want to place a Button (SmallImage only set for Informativness) just behind it.
e.g. Output Folder: ______________________ ...
The 3 dots indicate should open a FolderBrowserDialog to select the Output Folder.
The button is always placed below the TextBox.
is there a way to achieve this?
|
|
Technical Support
|
Jun 2, 2010 - 4:16 AM
|
In the designer, select TextBox control and, in the properties window, set the FlowBreak property to true.
|
|
Helmut Wahrmann
|
Jun 2, 2010 - 1:51 PM
|
|
|
Andre Schardong
|
May 31, 2010 - 12:25 PM
|
I’m placing a multi-line textbox inside a ribbon group. It seems ok in designer, but at runtime it simple desapearings. May it be a bug?
|
|
Technical Support
|
Jun 2, 2010 - 4:15 AM
|
The multiline text box is not currently supported by the ribbon group. Though you can workaround it by using a UserControl as a container for the multiline text box and putting the control into the ribbon group.
|
|
Rodrigo A Hernandez O
|
May 17, 2010 - 9:19 AM
|
When I collpase the ribbon, how do I Adjust the content of the form as the samples shown.
|
|
Technical Support
|
May 17, 2010 - 1:41 PM
|
All you need is to put all your content on the panel with Dock property set to DockStyle.Fill.
|
|
Rodrigo A Hernandez O
|
May 17, 2010 - 9:31 AM
|
I Solved, sorry for the question.
|
|
esraa khedr
|
May 16, 2010 - 5:37 AM
|
where can i find Elegant Ribbon version3.3 and version 3.4 ?! Thanks
|
|
Technical Support
|
May 17, 2010 - 2:42 PM
|
|
|
esraa khedr
|
May 16, 2010 - 5:35 AM
|
How can i change ribbon background image?!!?! change ribbon tab background image
|
|
Technical Support
|
May 18, 2010 - 11:51 AM
|
No, we are sorry but this is not supported.
|
|
esraa khedr
|
May 18, 2010 - 9:16 AM
|
can i add my own theme, different color, something other than blue, black and yellow. Red for example?!?
|
|
Technical Support
|
May 17, 2010 - 2:43 PM
|
You cannot easily customize the backgrounds in question. Unfortunately this is not supported.
|
|
esraa khedr
|
May 16, 2010 - 1:31 AM
|
how to add eventhandler to RecentDocumentsControl (when i select new item from it)
|
|
esraa khedr
|
May 19, 2010 - 2:20 AM
|
|
|
Technical Support
|
May 18, 2010 - 11:53 AM
|
void recentDocumentsControl_ItemClick(object sender, RecentDocumentsControlItemClickEventArgs e)
{
object clickedItem = e.Item; // this item has been clicked
} If you mean something else, just let us know.
|
|
esraa khedr
|
May 18, 2010 - 9:13 AM
|
would you give an example ?!?!
|
|
Technical Support
|
May 17, 2010 - 2:44 PM
|
You can use the RecentDocumentsControl.ItemClick event to track item selection changing.
|
|
Alexander Zubkov
|
May 15, 2010 - 10:41 AM
|
I apologize for molestation. Unable to cope with the component "navigationBar". I put on the form component "navigationBar", added a few "toggleButton". Keep abreast of the switch with: System:: Void navigationBar1_PressedToggleButtonChanged (System:: Object ˆ sender, Elegant:: Ui:: NavigationBarPressedToggleButtonChangedEventArgs ˆ e) How do I find the text of the selected "toggleButton"? Sorry for my bad English.
|
|
Alexander Zubkov
|
May 26, 2010 - 8:51 AM
|
Hello! Faced with a problems. I need software to swap "toggleButton". I tried this: navigationBar1-> PressedToggleButton-> Location = System:: Drawing:: Point (2, 150) I can not. How to be in this situation?
|
|
Technical Support
|
May 27, 2010 - 10:07 AM
|
You can move a ToggleButton to another position in a NavigationBar using the following code: // the new preferrable position
int newChildPosition = 1;
// button you want to move within the navigation bar’s child collection
Elegant::Ui::ToggleButton tb = navigationBar1->Controls[0];
navigationBar1->Controls->SetChildIndex(tb, newChildPosition);
|
|
Technical Support
|
May 18, 2010 - 11:51 AM
|
You can use the following code: ToggleButton tg = new ToggleButton();
tg.Text = "My Text";
navBar.Controls.Add(tg);
|
|
Alexander Zubkov
|
May 20, 2010 - 7:05 AM
|
Write happened. But it is now "toggleButton" remove from navigationBar? =) If you do so: DestroyWindow ((HWND) navigationBar1-> PressedToggleButton-> Handle.ToPointer ()); What: navigationBar1-> Controls-> Count does not change, but "toggleButton" removed.
|
|
Technical Support
|
May 21, 2010 - 7:13 AM
|
You should use the following code instead: if (navigationBar1.PressedToggleButton != null)
navigationBar1.Controls.Remove(navigationBar1.PressedToggleButton)
|
|
Technical Support
|
May 17, 2010 - 6:31 AM
|
We have a bug in NavigationBar v3.6 regarding PressedToggleButtonChanged event which is to be fixed in v3.7. Meanwhile you can use the following workaround:
System::Void navigationBar1_PressedToggleButtonChanged(System::Objectˆ sender, Elegant::Ui::NavigationBarPressedToggleButtonChangedEventArgsˆ e) { System::Stringˆ selectedToggleButtonText = navigationBar1->PressedToggleButton->Text; if(e->OldPressedToggleButton != nullptr && e->OldPressedToggleButton == navigationBar1->PressedToggleButton) return;
label1->Text = selectedToggleButtonText; }
|
|
Alexander Zubkov
|
May 18, 2010 - 11:26 AM
|
|
|
Alexander Zubkov
|
May 18, 2010 - 3:02 AM
|
Thank you. And the last question: Is it possible at runtime to create a "toggleButton" by the user? And how?
|
|
Alexander Zubkov
|
May 18, 2010 - 3:02 AM
|
ŃŠæŠ°ŃŠøŠ±Š¾. Š ŠæŠ¾ŃŠ»ŠµŠ“ний Š²Š¾ŠæŃоŃ: возможно ли в ŠæŃоŃеŃŃŠµ Š²ŃŠæŠ¾Š»Š½ŠµŠ½ŠøŃ ŠæŃŠ¾Š³ŃŠ°Š¼Š¼Ń ŃŠ¾Š·Š“аŃŃ "toggleButton" по Š¶ŠµŠ»Š°Š½ŠøŃ ŠæŠ¾Š»ŃŠ·Š¾Š²Š°ŃелŃ? Ркак?
|
|
John Pag
|
May 13, 2010 - 9:22 AM
|
|
|
John Pag
|
May 13, 2010 - 9:26 AM
|
|
|
John Pag
|
May 13, 2010 - 9:23 AM
|
|
|
Alexander Zubkov
|
May 11, 2010 - 7:48 AM
|
Hello! I have a question about QuickAccessToolbar. How can I change the text in the captions - "Customize Quick Access Toolbar", "More Commands ..."," Swoh Bellow the Ribbon "? I need to translate them into Russian. Thank you.
|
|
Alexander Zubkov
|
May 15, 2010 - 8:09 AM
|
Thank you very much! " All turned out.
|
|
Alexander Zubkov
|
May 13, 2010 - 7:47 AM
|
Strange. But I have your test case does not Russified. What is the problem? Can manually translated into Russian? Is this possible?
|
|
Technical Support
|
May 13, 2010 - 12:49 PM
|
We used the standard way of localizing resources through satellite assemblies. Please make sure that a folder "ru-RU"(which is part of our distribution package) is located in the folder with your program executable. This folder must contain the Elegant.Ui.Common.resources.dll and Elegant.Ui.Ribbon.resources.dll localization assemblies. We also changed our sample project a little bit to make the application work properly.
RussianLocale-v1.zip
|
|
Alexander Zubkov
|
May 12, 2010 - 10:27 AM
|
Why we are not succeeding. In the code of your program, I added:
System::Threading::Thread::CurrentThread->CurrentUICulture = gcnew System::Globalization::CultureInfo ("Ru-ru");
However, the language was English.
|
|
Technical Support
|
May 13, 2010 - 1:21 AM
|
We created a test project illustrating how to switch to the Russian locale. You can find the relevant code snippet in the Form1 constructor.
|
|
Alexander Zubkov
|
May 12, 2010 - 10:27 AM
|
Why we are not succeeding. In the code of your program, I added:
System::Threading::Thread::CurrentThread->CurrentUICulture = gcnew System::Globalization::CultureInfo ("Ru-ru");
However, the language was English.
|
|
Technical Support
|
May 11, 2010 - 12:56 PM
|
The Ribbon control already has a russian translation. All you need is to set the current thread culture to Russian as it is shown below: public Form1()
{
Thread.CurrentThread.CurrentUICulture = new CultureInfo("Ru-ru");
}
|
|
Helmut Wahrmann
|
May 10, 2010 - 12:59 PM
|
Hi,
I want to put the Ribbon into a UserControl, so that Ribbon specific code is separated from the rest of the app. Is this supported?
i’m docking the user Control on Top of the from, but the standard windows title bar is still shown.
Any idea?
thanks,
Helmut
|
|
Helmut Wahrmann
|
May 18, 2010 - 11:35 PM
|
|
|
Helmut Wahrmann
|
May 18, 2010 - 11:34 PM
|
|
|
Technical Support
|
May 11, 2010 - 4:55 AM
|
Put the following code into the OnLoad method of your main form: protected override void OnLoad(EventArgs e)
{
this.userControl1.ribbon1.CustomTitleBarEnabled = true;
base.OnLoad(e);
} This should help. If it doesn’t help, just let us know so we’ll send you a sample project.
|
|
Helmut Wahrmann
|
May 19, 2010 - 2:54 PM
|
I’m still struggling a bit. The control doesn’t resize correctly.
A sample project would be appreciated.
thanks,
Helmut
|
|
Technical Support
|
May 21, 2010 - 7:30 AM
|
|
|
Marc B.
|
May 7, 2010 - 8:49 AM
|
Is there any way to get all Elegant.Ui Controls (including the Ribbon Control) into the Visual Studio (2008/2010) ToolBox, without installing Elegant.Ui? All lower versions I only searched the dll files, and included the controls into the toolbox. But with v3.6 I get an error every time I try...
--------------------------- Microsoft Visual Studio --------------------------- Failed to create ToolboxItem of type: Elegant.Ui.StatusBarToolboxItem, Elegant.Ui.Design, Version=3.6.0.0, Culture=neutral, PublicKeyToken=3a2b400713aae6e0 --------------------------- OK ---------------------------
Is there any way to integrate the controls?
Best Regards, Marc
|
|
Marc B.
|
May 8, 2010 - 1:30 AM
|
I have another question... My main problem is, that visual studio resets the toolbox after every windows restart. That’s really annoying. Now I have to add the components to the toolbox every time I start Visual Studio after rebooting my PC.
Is there any way to do this automatically, like you do in your setup?
|
|
Technical Support
|
May 10, 2010 - 9:46 AM
|
First of all it’s quite strange, it shouldn’t happen with items added manually. Anyway you should use the installation package if you want all components to be installed properly.
|
|
Marc B.
|
May 7, 2010 - 11:53 AM
|
I registered these tow assemblies to the GAC and it works fine now. Thank you!
And... Could you possibly delete the second thread? I don’t know why there are two "instances" of my thread were created... I clicked the "Submit" button only once.
Best Regards, Marc
|
|
Technical Support
|
May 7, 2010 - 11:08 AM
|
In order to provide support for VS2010, we separated designer components from main assemblies in version 3.6. The design assemblies are now Elegant.Ui.Design and Elegant.Ui.Ribbon.Design. These assemblies have to be installed into the GAC or put to the Visual Studio assembly folder in order to make design components available.
|
|
Sublight Developer
|
Apr 30, 2010 - 2:54 PM
|
If you put long text in titlebar then it is written over minimize button. (OS: Windows 7, Elegant Ribbon 3.6) 
|
|
Technical Support
|
May 5, 2010 - 2:19 AM
|
Thank you for the bug report. We’ll fix it as soon as possible.
|
|
d a
|
Apr 30, 2010 - 9:00 AM
|
Normally you can capture Maximize and Restore operations within the WndProc and override the functionality. It appears that the Ribbon Bar has beaten us to the messages and overridden this functionality - I assume as part of the skinning process.
Is there any wan I can detect the button being pressed? and cancel the normal operation?
The reason for this requirement is too allow our application to cancel the maximize operation and the expand our application acorss all available monitors instead.
|
|
Technical Support
|
May 28, 2010 - 9:50 AM
|
|
|
d a
|
Jun 2, 2010 - 9:44 AM
|
Thanks for this update but not quite what I was after the event FrameSkinner.Frame.MaximizeChanged occurs after the application has been maximized. However I either need to get hold of the SC_MAXIMIZE and SC_RESTORE in the WndProc or I need the Frame skinner to provide a changing event eg FrameSkinner.Frame.MaximizeChanging in which I can then disable the normal maximize and restore operation by updating a Handled property of the Event Argument (similar to KeyPressEventArgs) and then I can resize our application across multiple monitors
|
|
Technical Support
|
Jun 3, 2010 - 6:44 AM
|
The assemblies we provided contain a fix for the case when the user presses a minimize or maximize or restore or close button so the WM_COMMAND message is risen each time any of these buttons is pressed. You should catch this message and handle it in your own way.
Regarding the FormFrame.MaximizeChanging event, this is not supported at the moment.
|
|
FirstName LastName
|
May 28, 2010 - 4:14 AM
|
|
|
Technical Support
|
Apr 30, 2010 - 1:22 PM
|
Thank you for the issue report. We have already resolved it and will prepare an updated installation package next week. We’ll let you know about that.
|
|
Richard Warriner
|
Apr 30, 2010 - 1:26 AM
|
Hi
Does the ribbon come with a skinned version of the standard datagridview or do I need to purchase the elegant grid to get a grid that matches the rest of the ribbon controls?
Thanks
|
|
Richard Warriner
|
May 1, 2010 - 7:35 AM
|
Just noticed the Elegant Grid hasnt been changed ince Nov 2006 - is there a new build coming? Surely it needs updating with the new themes for Office 2010 etc and .NET4 support?
|
|
Technical Support
|
May 7, 2010 - 10:49 AM
|
We’ll make a fully themed version this summer.
|
|
Sublight Developer
|
Apr 30, 2010 - 11:35 AM
|
This would be great :) Or at least if there would be themed ListView control.
|
|
Sublight Developer
|
Apr 29, 2010 - 2:34 PM
|
If you assign letter V to Ribbon tab KeyTip and then in application you press Alt Gr + V (for example user wants to enter @ in textbox), Ribbon framework switches to "V" Ribbon tab instead of displaying "@" character in textbox. Only combination of Alt key + shortcut should switch tabs (and not Alt Gr key). At least Office 2010 behaves like this :)
|
|
Technical Support
|
Apr 30, 2010 - 1:19 PM
|
Thank you for reporting the issue. We’ll fix it in the next version 3.7.
|
|
John Pag
|
Apr 29, 2010 - 9:24 AM
|
1.I set Invormativeness property for some control ->Fixed Label = <ControlName>WithLabel.
2.I set LabelAreaWidthTemplate = "some text" (9 characters).
3.I set LabelTex = "Text" (4 characters). I can set LabelText alignment right or left or center? I want always the text he is from right in LabelText independent how much symbols are in LabelAreaWidthTemplate.
|
|
Technical Support
|
Apr 30, 2010 - 5:15 AM
|
If you mean any of our editors in the ribbon then the answer is ’no’, Currently it is not supported.
|
|
Richard Warriner
|
Apr 28, 2010 - 5:47 AM
|
Hi I am currently considering purchasing the Ribbon control. I especially like the fact that you also get replacement controls for the rest of my application. One thing which seems to be missing is a replacement for the MessageBox It seems a shame to have an application with consistent theme only to use the standard grey error dialog Maybe you could add this for a future version? Also, when applying themes to controls, do you have a "theme manager" control that handles the entire application easily or do I have to do it on a form by form basis? Thanks Richard
|
|
Richard Warriner
|
Apr 28, 2010 - 10:31 AM
|
Thanks for that reply. Do you also have your own overridden "form" to maintain a consistent look and feel?
|
|
Technical Support
|
Apr 28, 2010 - 11:02 AM
|
Actually no but you can easily make a form theme consistent using Elegant.Ui.Panel for its background and Elegant.Ui.FormFrameSkinner for its non-client area. All these components are present in the designer.
|
|
Technical Support
|
Apr 28, 2010 - 10:12 AM
|
Thank you for your interest in Elegant Ribbon.
The themed message box will be added soon in version 3.7 or 3.8.
There is a class (SkinManager) that deals with the themes. You can use its SkinManager.LoadEmbeddedTheme(EmbeddedTheme theme, Product product) method in order to change the current theme. You can learn more from this article.
|
|
Richard Warriner
|
Apr 28, 2010 - 10:32 AM
|
Thanks for that reply. Do you also have your own overridden "form" to maintain a consistent look and feel?
|
|
Richard Warriner
|
Apr 28, 2010 - 11:28 AM
|
So I have almost everything i need for my app apart from datagridview. I assume to get a same looking datagrid i need to purchase your elegant grid control? Maybe you have a grid that is teh same as the standard grid but with extra theme support but no new features? I cannot afford to purchase both controls at this time :(
|
|
John Pag
|
Apr 27, 2010 - 3:05 AM
|
how i can change color in my label text? font color...
|
|
Technical Support
|
Apr 27, 2010 - 3:24 AM
|
You can change the color of the label text in this way: - Set
UseVisualThemeForForeground to false - Select the preferred color for the
ForeColor property.
|
|
Sublight Developer
|
Apr 24, 2010 - 4:26 AM
|
Is it possible to get theme colors in runtime? For example, I would like to get border color and backgdround color of tab control at runtime. 
|
|
Technical Support
|
May 7, 2010 - 9:25 AM
|
Actually the tab control is painted using images(glyphs) . I.e., there are no colors specially defined in the tab control for each theme. So you can only get the color manually by taking a screenshot and picking the color by a color picker.
|