Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    James Willock
    @ButchersBoy
    So what's your error? Something in your code or dragablz?
    Pranav Ramarao
    @pranavr93

    An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

    Additional information: Exception has been thrown by the target of an invocation.

    I get this when I try to tear a tab and separate it from the application
    James Willock
    @ButchersBoy
    Stack? What is your items source?
    Pranav Ramarao
    @pranavr93
    Operation is not valid while itemsSource is in use
    at System.Windows.Controls.ItemCollection.Clear()
    at Dragablz.DefaultInterTabClient.GetNewHost(IInterTabClient interTabClient, Object partition, TabablzControl source) in C:\projects\dragablz\Dragablz\DefaultInterTabClient.cs:line 25
    at Dragablz.TabablzControl.MonitorBreach(DragablzDragDeltaEventArgs e) in C:\projects\dragablz\Dragablz\TabablzControl.cs:line 1050
    at Dragablz.TabablzControl.ItemDragDelta(Object sender, DragablzDragDeltaEventArgs e) in C:\projects\dragablz\Dragablz\TabablzControl.cs:line 969
    My items source is an ObservableCollection of a custom class
    which inherits UserControl and INotifyPropertyChanged
    James Willock
    @ButchersBoy
    Ok, try with latest nuget package.
    I suspect, at some point you might want to look into implementing your own IInterTabClient, so have a look at that interface.
    Pranav Ramarao
    @pranavr93
    hmm okay
    But where do you think the problem is?
    is it on my side of things?
    Hey! I got the latest nuget and it doesn't crash now!!
    Pranav Ramarao
    @pranavr93
    though there is one minor problem
    When I tear a tab, it moves rapidly and creates multiple windows o.O
    James Willock
    @ButchersBoy
    Have you got something intercepting any mouse activity?
    Pranav Ramarao
    @pranavr93
    Let me check
    I don't there is one
    don't think*
    Could you tell me what happens when I start tearing a tab?
    That way, I can figure out what is going wrong
    Pranav Ramarao
    @pranavr93
    Currently, it looks like it just replicating the parent tab and creates multiple versions of it
    And in no time, I have about 50 of those separate tabs open
    James Willock
    @ButchersBoy
    A new window should be created when the mouse leaves the tab, and then the mouse is captured on the new window, and then the new window starts moving with the mouse. ...Can you create a demo project that relates the issue?
    ...Maybe it's something to do with mouse capture on your window. Do you b have a custom window or anything like that?
    Any adorners that could interfere?
    Or
    Something in your code that is generating a new window
    How do you create Windows?
    Anything in your window load event?
    Pranav Ramarao
    @pranavr93
    I will check it out and get back to you. Thanks a ton for the help so far. I still have some queries. Will get back to you in a while :)
    Ruslan
    @ruslanfedoseenko
    HI. I have some havy tabs with some amout of controls. Is there any way to make TabablzControl presist visual tree when switching tabs?
    James Willock
    @ButchersBoy
    It already does. Slowness?
    Ruslan
    @ruslanfedoseenko
    Nevermind. It is not related to your controll. Sorry for disterbing you.
    Pranav Ramarao
    @pranavr93
    Hi JAmes
    Pranav Ramarao
    @pranavr93

    Dragablz is awesome. My app looks really cool now. The problem with multiple tabs was that it was called mainwindow everytime and creating multiple versions. I fixed it.

    I have a query regarding the treeviews. For some reason, i am not able to get that working. It works well on your demo app but i am not able to replicate the animation. Anything I am missing?

    Pranav Ramarao
    @pranavr93
    Ah, I was using the stable release. Looks like treeview wasn't part of it. Got it in the beta release :)
    beta version*
    James Willock
    @ButchersBoy
    @pranavr93 cool, thanks for feedback :)
    Pranav Ramarao
    @pranavr93
    :)
    So James, one other problem i am facing now is dockablz. My app had some tabs and the entire window occupied only a small part of the center screen. Everything is fine and dragablz works great. When i include dockablz, the app opens in the entire screen... any reason for this?
    I am not sure how to change this behavior as well
    James Willock
    @ButchersBoy
    do you mean when tearing a tab out? where it suddenly jumps up in size? If so, yeah I know, it's on my list to fix...
    Pranav Ramarao
    @pranavr93
    It's not exactly that. What I mean to say is that the inclusion of Dockablz is changing the size of my app itself. When it is supposed to be just a tiny window (say 2 buttons) in the center of the screen, dockablz makes the window take up the entire screen.
    James Willock
    @ButchersBoy
    ...I'm not sure what's going on thr
    Err
    There
    Pranav Ramarao
    @pranavr93
    Hmm
    I have to manually resize the app everytime and then use. Once that is done, dockablz is great