Kiyoshi,
The issue is that our application has the possibility for a large number
of tabs to be open within the MDI.
Additionally the way we have configured it means that the textual content
of the Name property is quite lengthy and the tabs often move to two or
even three lines within the Tab Control.
The solution is to fix the width of the tab by setting MaxWidth and also
to specify the same textual content for the Tool Tip property.
Currently the API OBWIN/CS Set current window caption calls
fnc.ObUIMain.SetUITitle() and this updates the Name of the Tab Item.
So can you extend the functionality of SetUITitle to also populate the
Tool Tip ?
Additionally is there an API exposed that we can use in the short term?
Regards,
David S GAMBLE
SOFTWARE ENGINEERING
GSWD
12 Calthorpe Road, Edgbaston, Birmingham, B15 1QZ, United Kingdom
___________________________________________________________________________________
Phone
INT (6044) 7604 3877 EXT +44 (0)121 4553877
Email
davidgamble@hsbc.com
Website
HTS UK IT – SE Intranet
___________________________________________________________________________________
Protect our environment - please only print this if you have to!
From:
CA Plex CA 2E Global User CommunityMessage Boards
<
CommunityAdmin@communities-mail.ca.com>
To:
"mb_message.2256321.108536266@myca-email.ca.com"
<
mb_message.2256321.108536266@myca-email.ca.com>
Date:
29/01/2014 17:51
Subject:
[CA Plex General Discussion] RE: PLEX 7 WPF implementation of MDI
Hi, Dave
With current runtime design and by adding folloiwings to your
exe.app.xaml file you could reach like image.
However to controle the Width of the ITEM and position of 'X' button
control to fit Vertical mode, CA needs to expose some custom property and
add some bindings.
This is just one good sample of power of .NET WPF control look and feel
customization part.
<Style TargetType="ob:ObTabControl">
<Setter Property="Background" Value="{StaticResource
ObTransparent}"/>
<Setter Property="TabStripPlacement" Value="Right"/>
</Style>
<Style TargetType="ob:ObTabItem">
<Setter Property="Background" Value="{StaticResource ObTransparent}"/>
<Setter Property="Padding" Value="4" />
<Setter Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<ContentPresenter Content="{TemplateBinding Content}">
<ContentPresenter.LayoutTransform>
<RotateTransform Angle="90" />
</ContentPresenter.LayoutTransform>
</ContentPresenter>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
Regards,
Kiyoshi
Posted by:Kiyoshi
--
CA Communities Message Boards
108538806
mb_message.2256321.108536266@myca-email.ca.com
http://https://communities.ca.com
************************************************************
HSBC Bank plc
Registered Office: 8 Canada Square, London E14 5HQ
Registered in England - Number 14259
Authorised by the Prudential Regulation Authority and regulated by the
Financial Conduct Authority and the Prudential Regulation Authority
************************************************************
-----------------------------------------
SAVE PAPER - THINK BEFORE YOU PRINT!
This E-mail is confidential.
It may also be legally privileged. If you are not the addressee you
may not copy, forward, disclose or use any part of it. If you have
received this message in error, please delete it and all copies
from your system and notify the sender immediately by return
E-mail.
Internet communications cannot be guaranteed to be timely secure,
error or virus-free. The sender does not accept liability for any
errors or omissions.