-
If I open a c1Window with ShowModal sometimes the window doesn´t have the focus. The focus is in the window behind.
I open the window like this:
objWindow.CenterOnScreen()
objWindow.ShowModal()
objWindow.BringToFront()
objWindow.Focus()
objWindow.IsActive = TrueWhat is my mistake?
Regards
| # -
Patrick,
This seems to be an issue in the build you’re using. I could replicate the issue with build 4.0.20113.225.
But it is working fine in the latest build 4.0.20121.236 which should be released by the end of March.
Please check our website http://prerelease.componentone.com or C1Live for any updates.Thanks!
| # -
Is it also for SL 5?
Regards
| # -
Yes, there will be separate builds for SL 5.
Regards
| # -
Is the build available?
Regards
| # -
Yes, the build is available at the following url :
Regards
Answer| # -
The same problem is with the C1MessageBox.
A messagebox is open but the focus is not on the messagebox the focus is anywhere?!?!
Regards
| # -
The issue with C1MessageBox is fixed in the latest build 4.0.20121.252.
You can download it from the following link : http://prerelease.componentone.com/hotfixindex.html
however this build is still under testing and will be released once it is passed by the QA team.Regards
| # -
I downloaded the update but now my whole C1TabControl doesn´t work"!!!!!!
There must be a bug!!
Regards
| # -
I tried with build 5.0.20121.252 but I can’t replicate the issue with C1TabControl. Is there something that I need to do in order to replicate the issue? Could you share your code or sample?
Thanks
| # -
<DataTemplate x:Key="ContentTemplate"> <ContentControl HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" Content="{Binding }"/> </DataTemplate> <c1:C1TabControl BorderThickness="2" BorderBrush="DarkCyan" ItemsSource="{Binding ViewModelSelector.ViewModels}" SelectedItem="{Binding ViewModelSelector.ActiveViewModel, Mode=TwoWay}" ContentTemplate="{StaticResource ContentTemplate}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" TabItemShape="Sloped" Margin="10" Grid.Column="1" UnselectedContentMode="Collapsed"> <c1:C1TabControl.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <TextBlock Text="{Binding Titel}"/> <Button HorizontalAlignment="Center" VerticalAlignment="Center" Height="18" Width="18" Margin="5,0,0,0" ToolTipService.ToolTip="Schließen" FontWeight="Bold" Content="X" Command="{Binding CloseCommand}"/> </StackPanel> </DataTemplate> </c1:C1TabControl.ItemTemplate> </c1:C1TabControl>Regards
| #
You must be logged in to reply to this topic.

