Subject |
Author |
Date |
|
martyn jones
|
Sep 9, 2009 - 5:29 AM
|
Have been trying to find a way that i can pick up when a user changes the selected tabpage shown in the ribbon, but havent been able to. I looked through the ribbon events, but couldnt see anything there, also tried a few events from the ribbon tabpage itself like _clientsizechanged and _sizechanged but none of those work. Cant even see a property that i could check for on a timer, although I know that would be a horrible way to do it.
|
|
martyn jones
|
Sep 10, 2009 - 7:44 AM
|
Ok now i feel real stupid (or has that post been edited?)  Yes, currenttabpage and currenttabpagechanged are exactly what i was looking for. Many many thanks.
|
|
martyn jones
|
Sep 10, 2009 - 7:42 AM
|
Well, when i first read this post i felt real stupid for not seeing it there - could have sworn i looked for anything sounding remotely like (selected) index. However, having tested it out, tabindex_changed never seemed to be fired, and when i checked the tabindex property it never changed from being one. Then i realised, tabindex is just the tab index property, for when a user presses [tab] to cycle through the controls - nothing to do with the tab page or indeed which one is selected/shown.
|
|
Technical Support
|
Sep 10, 2009 - 4:18 AM
|
You are probably looking for the Ribbon.CurrentTabPage property and Ribbon.CurrentTabPageChanged event. If not, please give more details
|
|
martyn jones
|
Sep 9, 2009 - 5:18 AM
|
I’ve just noticed that the autoscroll property (available on the standard tabpage) is not available on the elegant.ui.tabpage. Although you can just dock a panel to fill the tabpage and achieve autoscroll that way, i can’t get it to match the color of the elegant tabpage. Any ideas how i could do this? By the way, having spent the last few weeks trying the different ribbon ui’s avaiable this is the best i have come across.
|
|
Helmut Wahrmann
|
Nov 4, 2011 - 3:26 PM
|
Hi,
Unfortunately the feature was not implemented after 3.3.
any chance to get this workaround, which you where mentioning above?
thx,
Helmut
|
|
Technical Support
|
Nov 8, 2011 - 7:42 AM
|
If you want the content to scroll inside the TabPage control, try putting it inside a transparent Panel control and then put the panel on a tab page.
|
|
Technical Support
|
Nov 8, 2011 - 7:43 AM
|
But scrolling support is available only starting from version 3.8
|
|
martyn jones
|
Sep 10, 2009 - 7:49 AM
|
Thanks for the info and quick reply. At the moment theres no rush and using a panel with a similar color is fine for development.
|
|
Technical Support
|
Sep 10, 2009 - 4:31 AM
|
Thank you for your kind words. This feature is not supported in the current version. The version 3.3, which is coming soon, will not include it either. But just after releasing 3.3, we will implement it and make it available to you. If you need this feature right now, we can provide a workaround.
|
|
Helmut Wahrmann
|
Nov 4, 2011 - 3:27 PM
|
Hi,
Unfortunately the feature was not implemented after 3.3.
any chance to get this workaround, which you where mentioning above?
thx,
Helmut
|
|
martyn jones
|
Sep 7, 2009 - 3:38 PM
|
Hi I can’t get any of the mouse events to fire on the elegant.ui.tabcontrol, such as click, mousedown, mousehover, mousemove. What i want is to determine which tab within the control the user is hovering over so that i can edit a context menu so that its tab specific before its pulled up on right click. Therefore i dont want to use any tabpage events (although the tabpage events dont fire on the tab itself either) The microsoft site says that these events dont work without a tabpage in the control, but maybe they mean that they just dont work at all and the tabpage events take over - i do have multiple tabpages in my tabcontrol at design time and runtime though. Should probably check a MS tabcontrol too, but I prefer using the elegant.ui one. Any ideas what i could do? I cant even use a form_mouse event because even thats not firing when the mouse is over the tabcontrol. Any help would be really gratefully received!
|
|
martyn jones
|
Sep 8, 2009 - 4:01 AM
|
OK, I checked that the mouse events do work on the actual tabs of the standard tabcontrol and they do, so this is specific to the elegant.ui.tabcontrol. I’ve noticed that theres a number of bugs with the tabcontrol that you say will be fixed in the upcoming release. Therefore I was just wondering if these event handler issues are known and may be fixed as well?
|
|
Technical Support
|
Sep 8, 2009 - 1:14 PM
|
Thank you for the bug report. We will certainly fix it and add the possibility to track tab control tabs. We are preparing the new version to be released this month.
|
|
Jorge Arias
|
Sep 4, 2009 - 5:25 PM
|
Hi. How can I use the VerticalScrollPosition of the PopupMenu? This is my code Elegant.Ui.PopupMenu popInformation= new Elegant.Ui.PopupMenu(); for(i = 0 ; i < 10;i++) { /// add some items } popInformation.VerticalScrollPosition = 15; No matter what value I set the VerticalScrollPosition remains in 0; Thanks in advance.
|
|
Technical Support
|
Sep 7, 2009 - 1:29 PM
|
We will look into the problem and give you an answer tomorrow. Thank you
|
|
Jorge Arias
|
Sep 7, 2009 - 2:09 PM
|
Thank you for your reply. I’ll check it tomorow.
|
|
Technical Support
|
Sep 8, 2009 - 1:15 PM
|
This property is used when the number of items in a popup menu is to big to fit vertical bounds. In this case scroll buttons appear and you can then scroll up/down the content of the menu. The scrolling step is one pixel, the maximum scroll value is determined by the property VerticalScrollMaximum. In your case, probably, there are to0 few of items in the menu, so the menu simply ignores your attempts to change the VerticalScrollPosition property.
|
|
Petros Petrou
|
Aug 26, 2009 - 4:31 AM
|
Hi, I am changing the UI of my existing application using the Elegant Ribbon Components and I am facing the following issue. In my Form I have a TabControl with a few TabPages and have some code in the onEnter event handler of the Tab Pages. When i click on the Tab Page title to change tab the onEnter code does not run unless I click inside the tab. This functionality is different than the the normal System.Windows.Forms.TabPage which was raising the event when the tab title was clicked. Is this a bug or am I doing something wrong? Thanks
|
|
Technical Support
|
Aug 26, 2009 - 6:34 AM
|
Thank you for reporting the bug. It is already fix. The fix will be available in the next release, which is coming soon.
|
|
Tom Faris
|
Aug 25, 2009 - 12:47 PM
|
Hi, There’s an issue I’ve noticed with the a form framed with FormFrameSkinner repainting on other windows. For instance, if I have my form open and Explorer in the background and I click the Explorer window to bring it to the front, my form will repaint on that explorer window on the portion that was covered by my form, and this won’t clear until the explorer window repaints (resize, minimize, hide, etc..). I’m inserting an image to more clearly describe it.. I’m not sure if this works..  I’ll post a link to it also, http://tinypic.com/view.php?pic=25au337&s=3. In this image explorer is actually in the foreground, you can see the form on the right-hand side - it shouldn’t be painted there. Any suggestions? Thanks.
|
|
Technical Support
|
Aug 26, 2009 - 8:19 AM
|
We will look into the problem and notify you about the results. Thank you.
|
|
Tom Faris
|
Aug 25, 2009 - 12:48 PM
|
|
|
Technical Support
|
Sep 10, 2009 - 3:31 AM
|
Thank you again for reporting the issue, Tom. The problem is that we fail to reproduce it. Here is what we used for testing:
- Windows XP SP2 and SP3, Windows Vista, Windows 7. - Elegant Ribbon samples (Elegant Ribbon UI, Ribbon MDI, Image Viewer and Style Composer). - A newly -created application.
Could you help us reproduce the problem? Can the problem be repeated with our samples? Did you try to run your app on a different computer or a virtual pc to make sure the problem does not relate to your machine? Thank you.
|
|
Technical Support
|
Sep 10, 2009 - 3:40 AM
|
The last thing is that we used v.3.2, which can be downloaded from our web site. We confirm that the problem may have occurred with earlier versions. With version 3.2 we cannot reproduce it. Could you check the version you are using?
|
|
Tom Faris
|
Sep 16, 2009 - 4:59 PM
|
Thanks for the response. I just tried and I was actually able to reproduce it with the Ribbon MDI sample, but ONLY if you have opened an MDI child window. If one isn’t open, it doesn’t work, and now I can confirm this same behavior in my application. Here’s a shot: tinypic.com/r/2m7ax77/3. Consequently you can see in the image that I’m still using 3.1. I’ll try the update as soon as I can. Also I have confirmed this on other machines (all running 32bit XP home or pro). I didn’t manage to reproduce it with any other samples so maybe it’s localized to the MDI client control. Thanks again!
|
|
patrick fritzsch
|
Aug 24, 2009 - 5:02 AM
|
is it possible to create the Gallery in a multiselect mode?
|
|
Technical Support
|
Aug 24, 2009 - 11:23 AM
|
No, this is not supported in the current version. But it seems this feature is not supported in MS Office Ribbon either.
|
|
mike lindsey
|
Aug 23, 2009 - 8:56 PM
|
Hi - to reproduce: Add tab control to form and add panel control to a tab page. Anchor the panel top, left, bottom, right to tab page. Drop a .Net datagridview onto the panel and anchor it top,right,left. Result: The datagridview expands to a very large size at runtime and even design time. This also happens with .Net textbox on Elegant.Ui.Panel. Will you please verify - and let me know of a work around if you have one? Thanks, Mike
|
|
Technical Support
|
Sep 8, 2009 - 1:13 PM
|
We think that the Panel object seems to be a form child so it stretched to a large size. We noticed that sometimes when you try to put some control on the TabPage the designer actually puts it on the Form. Though it may seem that the control is on the tab page, it may actually be under the tab page. Make sure that the panel is a child of the tab page, you can check this in the designer generated code. If the problem persists, please send us a project illustrating the issue.
|
|
mike lindsey
|
Aug 23, 2009 - 8:47 PM
|
Hello, I created a class that inherits from Elegant.Ui.TabPage - I did this for a chat type application in which i need to flash the small icon on the tab header when a message is received. Works fine in a .Net tab control but the Elegant.Ui.TabPage does not repaint when I swap the defaultsmallimage on a timer. However, if I move my mouse over the the tab header repeatedly it will change the image. How can I force a repaint? I tried calling this.Invalidate() but that didn’t help. I also tried overriding the "OnPaint" and call that from the below function. Nothing works. Thanks, Mike private void _flashTimer_Tick(object sender, EventArgs e)
{
if (_currentImage==0)
{
_currentImage = 1;
this.DefaultSmallImage = _imgList.Images[_currentImage];
this.Update();
//this.OnPaint(null);
}
else
{
_currentImage = 0;
this.DefaultSmallImage = _imgList.Images[_currentImage];
this.Update();
//this.OnPaint(null);
}
}
|
|
Technical Support
|
Aug 26, 2009 - 7:06 AM
|
Thank you for the bug report. We have just fixed it. The fix will be available soon in the next version. Meanwhile you can call TabControl.Invalidate(true) to achieve the requested behavior.
|
|
Roman Bachmann
|
Aug 21, 2009 - 7:24 AM
|
|
|
Technical Support
|
Aug 24, 2009 - 11:18 AM
|
Thank you for your bug report. Actually this bug is caused by the VS designer which doesn’t support generic handlers. We will replace our events with non-generic in the next version, which is coming soon.
|
|
Heino Krahenbuhl
|
Aug 17, 2009 - 1:30 AM
|
Is the ribbon dlls build as x64 or x86 or Any CPU? Is there a way to force the ribbon to be x86?
|
|
Technical Support
|
Aug 17, 2009 - 8:08 AM
|
The ribbon dlls do not directly depend on any native dlls so you can compile your application as x64, x86 or Any CPU.
|
|
Eric LeVin
|
Aug 12, 2009 - 3:57 AM
|
Hello,
I am adding buttons to a popup menu in code.
The problem is that the buttons added do not have the mouse-over shading effect. Everything else, including the click event works.
What am I missing?
Thanks!
My code:
Dim Temp As New Elegant.Ui.Button For I As Integer = 0 To 10 Temp = New Elegant.Ui.Button Temp.Name = "bm" & I Temp.Text = "Hello " & I rbServerBookmarks.Popup.Child.Controls.Add(Temp) AddHandler Temp.Click, AddressOf BookmarkHandle Next
|
|
Technical Support
|
Aug 12, 2009 - 4:27 AM
|
When using a popup menu in Elegant Ui, you should always use the PopupMenu class which has the Items property. You can use PopupMenu.Items.Add() method for adding controls to your popup menu.
|
|
Timothy Greaves
|
Aug 11, 2009 - 1:16 PM
|
I am having a problem.. When a TextBox is posting a keypress event, it doesnt post the <enter> key.. I have this working with the windows forms textbox but it isnt working with the EUI textbox on my ribbon.. Any ideas?
|
|
Timothy Greaves
|
Aug 17, 2009 - 10:28 AM
|
That worked perfect.. Thanks..
|
|
Technical Support
|
Aug 12, 2009 - 6:01 AM
|
When using an Elegant.Ui.TextBox inside the ribbon, the Enter and Escape keys are used as input keys in order to commit or discard the changes. This causes the KeyPress event not to work for these keys. Consider using the KeyDown event instead for the cases when a TextBox control inside the ribbon.
|
|
Marco Scarpa
|
Jul 29, 2009 - 7:46 AM
|
Hi, i’m testing ribbon component. If the startup form of my application has the WindowState set to Maximized, the ribbon toolbar flickers a lot. Is there any solution about it? thanks marco
|
|
Technical Support
|
Jul 29, 2009 - 9:12 AM
|
Thank you for reporting the bug, Marco. We confirm that if set to Maximized, the top part of the form really has some unwanted flickering. We are working on a new version 3.3 now so this bug will be fixed in this upcoming release.
|
|
Technical Support
|
Jul 29, 2009 - 9:21 AM
|
This only occurs only on Windows Vista with Aero switched off. In any case, this will be fixed in v.3.3. Thank you again.
|
|
Sven Kolber
|
Jul 22, 2009 - 1:49 AM
|
Hello! Many of our customers do not realize that the Application Button is an actual button with a lot of important functionality behind. Is there any built-in help that could be displayed during the first start? When starting Word 2007 the first time, there is a Pop-Up which points to the Application Button and the button flashes several times. Is there a possibility to do the same with your control? BR
|
|
Technical Support
|
Jul 27, 2009 - 6:03 AM
|
What we have found out that it is quite difficult (though possible) to implement this flashing with the current version (3.2). This is because the button does not have enough public methods and properties to do this easily. We are working on a new version, which features the Office 2010 UI. It should be released within two weeks. In this new version we can add a feature that would allow you to flash the Application Button easily. We will even add this feature to the Ribbon UI sample. If you can wait until the new version, that would make you request easier for us.
|
|
Technical Support
|
Jul 22, 2009 - 3:25 AM
|
We will prepare a sample with this feature and send it to you soon.
|
|
LIVE GAME
|
Jul 15, 2009 - 11:32 AM
|
For some reason, I want to disable the highlight effect when mouse hover the RibbonGroup control, thanks
|
|
Technical Support
|
Jul 21, 2009 - 8:45 AM
|
You can achieve that by overriding the DetermineState method of the RibbonGroup as it is demonstrated below: protected override Enum DetermineState()
{
RibbonGroupState state = (RibbonGroupState)base.DetermineState();
if (state == RibbonGroupState.Hovered)
return RibbonGroupState.Normal;
return state;
}
|
|
Joerg Androw
|
Jul 9, 2009 - 5:50 AM
|
I’ve noticed that your demo application for the ribbon (RibbonUISample) uses a whopping 200 MB memory on my machine (Windows 7 RC1). If I myself create a small test app, place 2 buttons on the ribbon and start the app, the Task manager shows 90MB - after a couple of seconds of interaction with the ribbon it will go back to 70MB (which is still high). I’m wondering is that always the case and why (using only 2 built-in themes)? I’m evaluating the ribbon for my rather small-to-medium application (max 50MB in the Task manager) and if the memory consumption for it when switching from Menu/Toolbar to Ribbon increases to 4x-6x of where it is today - it’s a big no-no. Thanks.
|
|
Technical Support
|
Jul 11, 2009 - 11:47 AM
|
The RibbonUISample has a large amount of image resources in memory. Besides, each .NET application consumes nearly two times more of memory resources on 64-bit system than on 32-bit. We estimate that your application should use about 35-40 MB on 32-bit machines. We agree that 70 MB is quite a lot, but the ribbon control has a rich UI interface which means a lot of image resources. In the last couple of days we fixed a couple of bugs related to memory management and reduced memory usage especially while switching the themes and cleaning the memory after control objects that are not used anymore. If it is interesting to you, we can provide you with this update. Thank you.
|
|
Joerg Androw
|
Jul 11, 2009 - 1:53 PM
|
Are you talking specifically about images on buttons that consume so much memory or the ribbon UI itself? I understand that you’re using a different approach similar to xaml - whatever - e.g . not painting the ribbon UI using GDI/GDI+ methods everytime - maybe there is a way to optimize this even further. Yes please, I would like to test your changes in the update. Thank you.
|
|
Technical Support
|
Jul 13, 2009 - 12:17 PM
|
Please download the updated assemblies from this site. Thank you.
|
|
Technical Support
|
Jul 12, 2009 - 5:25 AM
|
The ribbon control itself consumes a relatively large amount of memory because there are separate theme resources for nearly all controls in the ribbon. You may have noticed that the Button control, for example, looks a bit different when it is on the ribbon vs when it is on the form. In order to manage this appearance for ribbon we created separate theme assemblies with names like Elegant.Ui.Ribbon.Theme.XXX.dll. When you run an application with the ribbon control, it automatically loads resources both for standard controls(that may appear on the form or panel) and the ribbon controls(all controls that can be placed inside a ribbon group). Every theme part is stored as a png file, but when loaded in memory, it gets rasterized to be painted effectively. For all images, that increases memory usage. Probably the updated version will use a little less memory but at the moment technically it is hardly possible to reduce memory consumption significantly. We will prepare the new version on Monday and provide you with a download link.
|
|
Brandon Frye
|
Jul 7, 2009 - 6:43 PM
|
The application menu has the RightPaneControl property (which is easily used for the recent projects control) - however, I would like to have a custom control in that area... I tried adding a panel,but that does not work correctly. Is there anything I can do?
|
|
Brandon Frye
|
Jul 7, 2009 - 6:44 PM
|
I stand corrected - that works fine
|
|
Roman Bachmann
|
Jul 7, 2009 - 8:21 AM
|
I prepare a Usercontrol with a Elegant.Ui.Panel and some Elegant.Ui.TextBoxes. Then I add the usercontrol to a System.Windows.Forms.SplitContainer (.Panel2). The property "TabStop" of the TextBoxes is default set to "True". But if I use [Tab] in the running application, they don’t focus so I can’t type in them. After clicking in all textboxes with the mouse, the order of the "TabIndex" works fine. I tried to loop through all textboxes and focus them shortly, but I couldn’t manage to do this properly. Tabbing works fine, if I add the TextBoxes directly to "SplitContainer.Panel2" and not via usercontrol/Panel, so I believe, I do something wrong.  Could you please provide me help? Thank you very much.
|
|
Roman Bachmann
|
Jul 7, 2009 - 8:24 AM
|
Sorry, I forgot to write, which version I’m using: 3.2. Thank you.
|
|
Padraig O’Donovan
|
Jul 5, 2009 - 7:19 PM
|
When I open the elegant ribbon in vista it initially open maximised, if I close an reopen the application it has moves down the screen approx 1/2 inch. This happen 4 times with the interface moving down the screen each consecutive time.<o:p></o:p> One the 4th attempt it will restart as maximised. <o:p></o:p>
Any thoughts<o:p></o:p>
|
|
Technical Support
|
Jul 6, 2009 - 2:40 AM
|
Thank you for posting your feedback. Could you let us know more details so we can reproduce what you reported? What project you are using for testing? Yours or a sample from the Elegant Ribbon pack? Could you send us a test project that demonstrates what’s wrong? Thank you.
|