Hello,
it is a littlebit difficult to discribe what my problem is but i will try.
I have a UltraToolbar with .IsStockToolbar = true. On this toolbar there are n ControlContainer tools followed by a SpringLabel and two ButtonTools. In the ContainerTools there are several setting a user can make. The two buttons are to edit settings and "close" the toolbar. The SpringLabel is used to position the two buttons always on the right end of toolbar.
The two buttons should be the last tools to be bumped, therefor i set priority of the two buttons and the springlabel to containertools.count + 1 and +2 and +3.
But what happened:
If i resize the form, the springlabel gets smaller and smaller. Everthing ok. But then the last button (n +3) disappears without bumpednotification. Go on resizing.
Then the first containercontrol disappears with bumped notification and the last button (n+3) appears again but the springlabel skrinks to the same size as the buttons (16 pix) and the two buttons are not at the right end anymore.
So why is the springlabel quiting to spring in bumped mode and why disappears the button without bumpednotification instead of one of the controlcontainertools which should disappear first?
Hope you understand what i mean,
Thank you
Bjoern
I forgot to ask if i can query a property if the toolbar is bumped? And if so, which tools are bumped.
Hello Bjoern,
I`m not sure that I understand your issue and scenario. I try to reproduce your scenario in a small sample using our latest available version 12.1.20121.2054 and at a first look everything works properly. Could you please take a look at the attached sample and video file and let me know if you think that I didn`t reproduce your scenario. Please feel free to modify this sample to reproduce your issue and rervt it back to me . I`ll be glad to research it for you. Also could you please tell me what is your current version and do you have any installed sevice release and which one.
Let me know if you have any questions.
Regards
Hello Georgi,
it's me again. I got mad, because your sample was working. But as i mentioned we use derived controls and the toolbars parent is a panel of a splitterpanel etc. So i modified a lot in your sample and copy the settings from our project (vb not c#) to your sample. After a while i found out the reason.
Its the MinWidth of the Label. The default is -1 but we set it to 50 to be sure of a litte space between the controls and the buttons. And with this property set the effect appears.
OK we could do it without the MinWidth, but there is one thing that disturb.
When the the first button is bumped the springlabel shrink to the smallest possible size 16 and so the two buttons are "aligned left" instead of right.
Is it possible that the springlabel does not shrink after the first bumped tool?
Thank you for your great help,
Hello Bjoern
I`m not able to reproduce your issue. Could you please modify the sample that I upload with my previous response to reproduce your issue and revert it back to me. I`ll be glad ot research this issue for you. Also could you please tell me what is your current version and do you have any installed service release and which one.
Let me know if you have any questions,
i have attached the modified sample. You are right. Only manipulating the MinWidth does not call the effect.
But in the sample you can see the effect.
The version i posted a few days ago: 12.1.20121.1001
What about the other questions?
Regards,
Thanks for attached sample. I made few test using your sample and our latest version of our assemblies - 12.1.20121.2054 and at a first look evrything seems to wrok properly. Could you please take a look at the attached video file and let me know if you think that I miss a specific step to reproduce your issue. Also if you are able, please download and install the latest available service release. You could find it at : Infragistics.com -> Accounts -> My Keys and Downloads
Thanks and Regards
i have installed the "new" serivice release (2054) but no change.
You have added some tools to the toolbar. No change else? I work on windows XP instead of Win7 like you. Maybe thats the problem?
Bjoern said:I hope it will be implemented in one of the following releases.
The "Ability" has been determined to be a new product idea. I have sent your idea directly to our product management team. Our product team chooses new ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly. We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this product idea is PI12100096. If you would like to follow up on your request at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com Thank you for your request.
Georgi said:At that moment we have not such property or method.
I hope it will be implemented in one of the following releases.
We are using the toolbar for a kind of gridoptions and we need to know if a option is set but not in view to handle an info-image.
And for the actual topic: Many thanks for your great support. This makes the different between a good product and a gorgeous one.
Here is the second part
DC1 said:you forgot the video file? No attachment visible :)
Hm, you are right. The attachment is missing. I`ll upload it again.
DC1 said:Is it possible to check if a tool is bumped?
At that moment we have not such property or method.
you forgot the video file? No attachment visible :)
What about the other questions? Is it possible to check if a tool is bumped?