Subject |
Author |
Date |
|
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.TextBox TextBoxSkin 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.
|
|
Sven Rutten
|
Aug 10, 2007 - 5:00 PM
|
Good work with the Version 2.1! With the glass support and the fix of the cropped borders, my application is much faster when I switch from normal to maximized!
I like it, although I still cannot change the panel backcolor...
|
|
Technical Support
|
Aug 13, 2007 - 3:14 AM
|
In order to set a custom background color, first you should set Control.UseVisualThemeForBackground to false. After use the BackColor property. Similarly you should set the Control.UseVisualThemeForForeground property to false for the foreground property.
|
|
Sven Rutten
|
Aug 13, 2007 - 4:44 AM
|
|
|
Sven Rutten
|
Aug 10, 2007 - 5:08 PM
|
Btw is it possible to turn off the glass support? I liked the black top of the black skin a bit more. Now it’s all black but the border is blue glass. It’s not really a big things for me, but it would be nice if it is possible...
|
|
Technical Support
|
Aug 13, 2007 - 3:16 AM
|
Yes, you can turn off the glass effect on Vista by setting Elegant.Ui.FormFrameSkinner.AllowGlass to true.
|
|
Technical Support
|
Aug 13, 2007 - 3:22 AM
|
We are sorry. If fact, you should set set the Elegant.Ui.FormFrameSkinner.AllowGlass to false in order to remove the glass effect.
|
|
Sven Rutten
|
Aug 13, 2007 - 4:45 AM
|
|
|
Sven Rutten
|
Aug 9, 2007 - 12:28 PM
|
Hello Can you give us an update if the new version will come this week or not?
|
|
Technical Support
|
Aug 10, 2007 - 10:10 AM
|
We will officially release v.2.1 on Monday. We can provide you with a release candidate version right away. Please contact us via email at support@prof-uis.com if you would like to play with it on the weekend.
|
|
Sven Rutten
|
Aug 1, 2007 - 12:34 PM
|
Hello
If I create a new application and put a Ribbon on it, and then I am launching it, and then clicking on Maximize on the top right, it is either cutting off a part of the top (as someone mentioned before), or it is showing correctly on the top, but the bottom is overlapping the Windows Bar. So it is really fully maximized without showing the Windows bar...
(Vista)
Thanks
Sven
|
|
Technical Support
|
Aug 2, 2007 - 1:13 PM
|
Thank you for reporting this bug. We have fixed it. So stay tuned for version 2.1.
|
|
Sven Rutten
|
Jul 30, 2007 - 4:56 PM
|
Hello
I have a question about the combobox.
When I have the following entries:
Test 2 Test Test 3
And I am selecting "Test" (which is selectedindex = 1), and then I am clicking on the combobox to show all entries, I am expecting that it is highlighting index 1. But instead it is highlighting index 0. It is searching for the first entry with "Test" in its name.
I saw that this is the same by the standard combobox if DropDownStyle is not set to DropDownList.
Could you implement, that if I set "Editable" to False, (then it is behaving like a DropDownList), that it is marking the exact index, and not searching for the first item starting with the string?
Thanks
Sven
|
|
Technical Support
|
Jul 31, 2007 - 9:09 AM
|
Thanks for the feature request. We will add it in version 2.1. This version was initially scheduled for the end of July but now it is rescheduled for August 7.
|
|
Sven Rutten
|
Aug 1, 2007 - 12:30 PM
|
|
|
Daniel Protopopov
|
Jul 30, 2007 - 6:23 AM
|
Hi, My form which I display with ShowDialog doesn’t close and return DialogResult assigned to the Elegant Ribbon buttons (OK and Cancel). Each button has a DialogResult property and I have assigned them to OK and Cancel buttons respectively. However, the dialog doesn’t exit the modal state and doesn’t return DialogResult when I click on any of those buttons, it only returns DialogResult.Cancel when I close it from title bar. Standard Windows buttons do work, however, and this is what is strange.
Thank you,
Daniel Protopopov
|
|
Technical Support
|
Jul 30, 2007 - 9:06 AM
|
Thank you for reporting the bug. We will fix in in the next release, which is coming soon.
|
|
Sven Rutten
|
Jul 27, 2007 - 9:10 AM
|
Hello Would it be possible to implement an option HideWhenClicked (boolean) that the ApplicationMenu is / is not hiding when clicked? It would be great for the ToggleButton on an ApplicationMenu. I would like to give the user the possibility to use a togglebutton before clicking on another Button on the ApplicationMenu.
Just for the ToggleButton I think this would be a great feature. Could you implement that in this version coming next week?
Thanks
Sven
|
|
Technical Support
|
Jul 27, 2007 - 10:00 AM
|
This is already implemented. Please set THE ToggleButton.HidePopupOnClickMode property to HidePopupMode.DoNotHide . As for the next release, we will do our best to release it next week.
|
|
Sven Rutten
|
Jul 30, 2007 - 1:44 AM
|
|
|
Sven Rutten
|
Jul 26, 2007 - 3:44 AM
|
Hello
If I am creating a new emptry project (with Form1), then I am adding a new Form (Form2) to it. On Form2 I put a Ribbon
On Form1 a single Button, with the code:
Dim x As New Form2 x.ShowDialog()
Ok if I build and run it, the form2 with the Ribbon is loading correctly when I am pressing Button1 on Form1. But if I now close Form2, and then I am pressing again on Button1, I get the error: "Object with the same Id is already registered."
Seems like the IDs of the first initialization of Form2 are stored somewhere and not deleted when the form is closing, so they still exist when I want to shot the Form2 a second time...
Thanks
Sven
|
|
Technical Support
|
Jul 26, 2007 - 4:33 AM
|
Thank you for reporting the problem. It is caused by that we are using control Ids for saving/restoring the UI state. We will fix it in the next release (coming soon). You can workaround the problem in the following way. Open the form’s designer file and remove ID properties from ALL the Form2 components. This should fix the problem. Please note that if you open the designer again, make some changes and save the file, new Ids for the controls will be generated again.
|
|
Sven Rutten
|
Jul 26, 2007 - 4:44 AM
|
Thanks for the quick reply. I tried to fix it like you adviced, but that didnt solve it. On Form1 I have no Ribbon. If I delete all IDs, I get new ones, that is correct. But I think the problem is, that creating while a new (second) instance of Form2, it is trying to use the same IDs as on the first instance (but also if I close the first instance) So I think that the IDs of the first instance which is closed are still stored somewhere...
How soon is your soon? Will it be before end of July?
Thanks
Sven
|
|
Sven Rutten
|
Jul 26, 2007 - 4:57 AM
|
Sorry I thought that you adviced me to create new IDs, but now that I read your comment again, I noticed that I should only delete them.
|
|
Technical Support
|
Jul 26, 2007 - 4:56 AM
|
Another approach that should definitely help you is as follows. Create Form2 only once and do not destroy and create when you need to hide or show it but rather just hide and show it. The problem will be gone.
Actually the new version is ready and now being tested. It will be released next week.
|
|
Sven Rutten
|
Jul 26, 2007 - 4:57 AM
|
That’s great, thanks, I’m looking forward to it
|
|
Michael Hudgell
|
Jul 16, 2007 - 2:51 AM
|
Has the Commands Designer been removed in version 2? When one clicks in the command box in VS2005’s property list, there is no ’...’ box to launch the designer...
|
|
Technical Support
|
Jul 16, 2007 - 3:08 AM
|
We confirm that this problem exists in the installer that was uploaded when v.2.0 was released. We fixed it. Please uninstall Elegant Ribbon, download it from our web site and install it again. The updated installer should have the size of 16,999,664 bytes. The problem should be gone.
|
|
Michael Hudgell
|
Jul 16, 2007 - 3:15 AM
|
Thanks for the stunningly quick response, I can confirm that fixes it...
One further question, is it possible to do a ’help’ icon on the far-right of the list of tabs similar to what Office 2007 does?
|
|
Technical Support
|
Jul 16, 2007 - 3:32 AM
|
Unfortunately it is not supported in v.2.0. But we can add it in the version that is coming at the end of July.
|
|
Michael Hudgell
|
Jul 16, 2007 - 3:51 AM
|
Another thing that might be worth you spending some time on... The Application Commands class throws CA2211 warnings as it is currently generated.
http://msdn2.microsoft.com/en-us/library/ms182353(vs.80).aspx
It would be worth considering how one could make it thread-safe to access this (be it making them const etc) and solving this, or (worse choice) suppressing it with a suppression attribute like:
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2211:NonConstantFieldsShouldNotBeVisible")]
|
|
Technical Support
|
Jul 16, 2007 - 10:12 AM
|
Thank you for your comments. We will look into it.
|
|
Shubhendu Jha
|
Jul 7, 2007 - 2:39 AM
|
Hi
I am getting an error on the trial version of the ribbon.
I created on form with ribbon and one tab page. This had 4 panels with different buttons.
I then created another form with the one more ribbon, one tab and then copied the 4 panels from the first form and pasted them on this NEW form.
I run the application and display the two forms .. the first time they are displayed fine, but after that i keep getting an error "Object with same ID is already generated."
I edited the form’s designer files and then removed the ID properties from ALL the ribbon components. Now the forms are running fine.
I can only guess but it seems that the ID fields for the ribbon components are ALSO getting copied when i paste the panels from one form to other. Can I suggest that when the items are pasted they should get NEW id values so that this problem does not arise.
Thanks
|
|
Technical Support
|
Jul 7, 2007 - 11:59 AM
|
Thank you for reporting this issue. We will fix it in the next release.
|
|
Pascal st-Jean
|
Jul 8, 2007 - 10:13 AM
|
I also had the same error, so I deleted all the buttons I had pasted everywhere and remade them from scratch. The problem now is that when I have a user control that I use more than once in my application, it gives the same error. Please keep this in mind when fixing this issue.
Also, what is the significance of these Ids? If I remove them from the designer as the previous poster had said, will it impact anything?
|
|
Technical Support
|
Jul 9, 2007 - 9:34 AM
|
Thank you for the report. In the current version of Elegant Ribbon we are using control Ids for saving/restoring the UI state (the state of controls in the Quick Access Toolbar state and a flag that tells if the ribbon should be minimized or not when the app starts).
If you remove control Ids assignment lines from the code generated by the designer , build the project, open the designer again, make some changes and save the file, new Ids for the controls will be generated. So you can use this as a workaround at the moment.
|
|
Pascal st-Jean
|
Aug 10, 2007 - 9:42 AM
|
Has this bug been fixed yet? If not, what’s the ETA on it?
|
|
Technical Support
|
Aug 10, 2007 - 10:13 AM
|
Yes, this bug is already fixed. We will officially release v.2.1 on Monday.
|
|
Pascal st-Jean
|
Jul 9, 2007 - 10:56 AM
|
Thank you, I will use this as a workaround for the moment.
|
|
Anil Kripalani
|
Jul 6, 2007 - 9:49 AM
|
How do I tell a Elegant.Ui.Label control to wrap text within a specific area? With a regular label control, one turns the AutoSize property to false, but I don’t see any such property on your control.
Thanks, Krip
|
|
Technical Support
|
Jul 6, 2007 - 10:08 AM
|
We confirm you cannot wrap text in the label control. This will be added in the next release.For now you could use a standard label (on the form only) as a workaround . Thank you for reporting this issue.
|
|
Anil Kripalani
|
Jul 6, 2007 - 8:53 AM
|
I’ve got a button I’ve added to a ButtonGroup. The small image shows nicely. How do I get Text to show just to the right of the image, on the button?
Thanks, Krip
|
|
Anil Kripalani
|
Jul 6, 2007 - 8:58 AM
|
Aha, just figured it out. Regular button with Informativeness.MaximumLevel set to SmallImageWithText.
Great product, BTW.
-Krip
|
|
Sven Rutten
|
Jul 6, 2007 - 7:50 AM
|
Hello
I am using code to unpress a toglebutton. So I am using TB.Pressed = false This is working, the ToggbleButton is unpressed, but: The Event PressedChanged doesnt fire...
Sven
|
|
Technical Support
|
Jul 6, 2007 - 10:00 AM
|
We tried to reproduce what you have reported but failed. Would you send us a test project that illustrates the problem? Thank you.
|
|
Anil Kripalani
|
Jul 6, 2007 - 6:56 AM
|
I’ve got an Elegant.Ui.TextBox control on top of a panel. Font is set to Arial, 20.25pt and text displays correctly in Design mode. When form is run, the text size drops to the default smaller size. Any way to keep the large font?
Thanks, Krip
|
|
Technical Support
|
Jul 6, 2007 - 9:57 AM
|
In the current version, you cannot change the control properties like Font, BackColor and ForeColor. These properties are now set by the current theme and there is no way to change this. But we will change in the next release, which is scheduled for the end of July.
|
|
Daniel Protopopov
|
Jul 2, 2007 - 4:53 AM
|
Hi, I’m having problems with this parameter. Every time the form goes less that 250 pixels in height, this parameter gets locked to FALSE and no matter what I try stays FALSE. When I resize it back to 250 or more, I’m allowed to change in, however this problem is dynamic - i.e when I resize the actual form in run-time, the Ribbon disappears from the form (i.e not rendered anymore, or I think it is just minimized) and can only be brought back by resizing the form to more than 250 pixels in height. How can this be avoided? Please help.
Thank you.
With respect,
Daniel Protopopov
|
|
Daniel Protopopov
|
Jul 3, 2007 - 1:27 AM
|
I understand, however the problem is still there - when the form size is too small, it doesn’t draw anything at all on it, except the control box and icon in top left. Is it possible to have Elegant Ribbon 2.0 behave in the same way as Elegant Ribbon 1.3, i.e. just set a variable here and there and do not allow for minimization?
Thanks.
With respect,
Daniel Protopopov
|
|
Technical Support
|
Jul 3, 2007 - 9:56 AM
|
Please use the Ribbon.AutoHide boolean property.
|
|
Technical Support
|
Jul 2, 2007 - 5:31 AM
|
Actually it is not clear why you need to change this parameter when the from size is too small. The Elegant Ribbon behaves exactly like the Ribbon in Office 2007 applications, i.e. when the form size is tool small, the Ribbon and Application Button hide and the caption is drawn left-aligned. Do you mean you need to change the caption dynamically?
|
|
Tran masteranh
|
Jun 28, 2007 - 5:03 AM
|
|
|
Technical Support
|
Jun 28, 2007 - 8:03 AM
|
We are sorry but it is completely unclear what you mean.
|
|
Sven Rutten
|
Jun 28, 2007 - 4:44 AM
|
Hello
When I set a margin for a textbox control, in the designer it is working, but when I start my application, the margin isnt set...
Sven
|
|
Technical Support
|
Jun 28, 2007 - 8:31 AM
|
It is the same problem with standard properties as discussed before (the label backcolor). We will fix it in the next release.
As a workaround, you can set control margins in the form constructor after calling InitializeComponent() . We used the same ourselves in the Data Binding sample.
|
|
Sven Rutten
|
Jun 28, 2007 - 1:21 PM
|
|