Hi,
my question is if there's currently a chance to show an close-button [x] within the tab-area like illustrated on the image below.
If only found a setting to display the close-button within the caption area - but i wan't a look & feel of such a tab like in current internet-browsers like Firefox / IE ...
Kind regards,
Sassan
Hello Sassan,
If I udnerstand well your requirements, you could solve this task using different approaches. I made small sample for you. Please take a look at the attached sample for more details and let me know if you have any questions.
Regards
Here is the sample
I agree 100% - please add this as a feature request for future releases. I am trying to implement this now myself and in our application we are creating / adding / removing panes dynamically so attaching the error handler has become a wee bit trickier as well as positioning the buttons.
Edit:
I have created an official feature request for this here:
http://ideas.infragistics.com/forums/192359-windows-forms/suggestions/4279784-ultradockmanager-option-for-close-buttons-in-tab
If you would like this functionality as well, please go vote for it.
Thanks!
solved the second problem by using a ascii 1 symbol.
So now everything is fine.
Thank you for your patience and help.
Any chance that this will get a build-in functionality for a next release of your controls?
Hi again,
some correction.
By using the tabs rectangle width i was able to solve the positioning problem.
But still have no clue how to extend the tab width by a fixed size to have place for the closing button.
Hi Boris,
i realised your example within our application and it's getting close to that what i've intented.
But there are 2 problems i can not solve by myself.
First, how to extend the tab - area width, cause they don't have the space for the close buttons without having a overlap of tab-text and the inserted button.
Second, all buttons seems to have the same position related to their owning tab-area. But there is needed a individual placement depending on the owning tab-area element to prevent such a miss-displacement like seen on the screenshot above.
Sassan,
Could you please review the sample attached to this post and see if it meets your requirements.Please feel free to let me know if I misunderstood you or if you have any other questions.