Page Index Toggle Pages: 1 [2] 3 4 ... 6 Send TopicPrint
Very Hot Topic (More than 25 Replies) Undo and groups (Read 58822 times)
rusted
YaBB Newbies
*
Offline



Posts: 42
Joined: Nov 3rd, 2005
Re: Undo and groups
Reply #15 - Nov 4th, 2005 at 11:37am
Print Post  
'Imports MindFusion.FlowChartX
'Imports System.Drawing
'Imports System.Drawing.Drawing2D

Private miUniqueCmdCount as Integer = 1
Private WFNodeWidth as Single = 40
Private WFNodeHeight as Single = 30
Private mWFItems As New Hashtable

Private Sub btnWFUndo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnWFUndo.Click
   flwChart.UndoManager.Undo()
End Sub

Private Sub btnWFAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnWFAdd.Click
  Dim iTopLeft As Single = (flwChart.GridSize / 2) + flwChart.GridSize
  miUniqueCmdCount += 1
  Dim cmd As Commands.CompositeCmd = flwChart.UndoManager.StartComposite("BoxAdd" + miUniqueCmdCount.ToString)
  Dim bx As MindFusion.FlowChartX.Box = flwChart.CreateBox(iTopLeft, iTopLeft, WFNodeWidth, WFNodeHeight)
  dim csiID as String = System.Guid.NewGuid.ToString
  InitialiseWorkflowNode(flwChart, bx, csiID, True)
  AddWorkflowItem(csiID)
  cmd.Execute()       
End Sub

Private Sub flwChart_ActionUndone(ByVal sender As Object, ByVal e As MindFusion.FlowChartX.UndoEventArgs) Handles flwChart.ActionUndone
   If e.Command.Title.ToLower = "delete" Then
      Try
          Dim Cmd As Commands.RemoveItemCmd = e.Command
          ' try cast to a box
          Dim bx As Box = Cmd.Item
          ' if we get here, we're recovering a box, is it the main one?
          If mWFItems.ContainsKey(bx.Tag) Then
              ' yep, this is the baby, so ...
              ' need to handle workflow z-index bug
              SetGroupZOrder(bx)
          End If
      Catch
      End Try
   End If
End Sub

Private Sub flwChart_BoxActivated(ByVal sender As Object, ByVal e As MindFusion.FlowChartX.BoxEventArgs) Handles flwChart.BoxActivated
If mWFItems.ContainsKey(e.Box.Tag) Then
    SetGroupZOrder(e.Box)
End If
End Sub

Private Sub flwChart_BoxDeactivated(ByVal sender As Object, ByVal e As MindFusion.FlowChartX.BoxEventArgs) Handles flwChart.BoxDeactivated
If mWFItems.ContainsKey(e.Box.Tag) Then
    SetGroupZOrder(e.Box)
End If
End Sub

Private Sub AddWorkflowItem(ByVal csiID As String)
If Not mWFItems.ContainsKey(csiID) Then
    mWFItems.Add(csiID, csiID)
End If
End Sub

Private Sub SetGroupZOrder(ByVal bx As Box)
  Try
     Dim tbl As Table = bx.SubordinateGroup.AttachedObjects(1)
     tbl.ZIndex = bx.ZIndex + 4 ' + 1
     Dim bxImage As Box = bx.SubordinateGroup.AttachedObjects(0)
     bxImage.ZIndex = tbl.ZIndex + 8 ' + 1
  Catch
  End Try
End Sub

Public Sub InitialiseWorkflowNode(ByRef flwChart As FlowChart, ByRef bx As MindFusion.FlowChartX.Box, ByVal csiID as String, ByVal newBox As Boolean)

Dim alEmpty As New ArrayList
Dim i As Integer
Dim tbl As Table
Dim grp As Group
Dim bxPic As MindFusion.FlowChartX.Box
bx.Tag = csiID
bx.Text = vbCrLf + vbCrLf + csi.ProcessName
If newBox Then
   bx.MnpHandlesMask = 256
   bx.Resize(WFNodeWidth, WFNodeHeight) 
   bx.SelStyle = ESelStyle.sstHatchHandles3
   tbl = flwChart.CreateTable(bx.BoundingRect.Location.X, bx.BoundingRect.Location.Y, WFNodeWidth, WFTableHeight) 
   tbl.CaptionHeight = 8
   tbl.RowsCount = 0
   tbl.Locked = True
   tbl.Style = ETableStyle.tsRect
   tbl.ZIndex = bx.ZIndex + 1
   tbl.AnchorPattern = Nothing
   tbl.ShadowOffsetX = 0
   tbl.ShadowOffsetY = 0 
   tbl.PicturePos = EImagePos.imgCenterLeft
   Dim tbrush As New MindFusion.FlowChartX.LinearGradientBrush(Color.White, Color.DarkGoldenrod, 90)
   Dim blend As New ColorBlend(3)
   blend.Colors(0) = Color.DarkGoldenrod
   blend.Colors(1) = Color.White
   blend.Colors(2) = Color.DarkGoldenrod
   blend.Positions(0) = 0
   blend.Positions(1) = 0.5
   blend.Positions(2) = 1
   tbrush.InterpolationColor = blend
   tbl.Brush = tbrush
   grp = flwChart.CreateGroup(bx)
   grp.Tag = bx.Tag
   grp.AttachToCorner(tbl, 0)
   grp.AutoDeleteItems = True
   bxPic = flwChart.CreateBox(bx.BoundingRect.Location.X, bx.BoundingRect.Location.Y, 8, 8)
   bxPic.Style = EBoxStyle.bsRect
   bxPic.FillColor = Color.Transparent
   bxPic.FrameColor = Color.Transparent
   bxPic.PicturePos = EImagePos.imgCenterRight
   bxPic.ZIndex = tbl.ZIndex + 1
   bxPic.AnchorPattern = Nothing
   bxPic.ShadowOffsetX = 0
   bxPic.ShadowOffsetY = 0
   bxPic.Locked = True
   grp.AttachToCorner(bxPic, 0)
Else
   bxPic = bx.SubordinateGroup.AttachedObjects(0)
   tbl = bx.SubordinateGroup.AttachedObjects(1)
End If
tbl.Caption = "My Caption"
bxPic.Picture = SomePicture
bx.ToolTip = "My Tooltip"
End Sub
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo and groups
Reply #16 - Nov 4th, 2005 at 12:27pm
Print Post  
These are the daily builds of the flowchart dlls, the Undo method of DeleteItem commands now should restore the Z order correctly:

https://mindfusion.org/_temp/FlowChart.NET.zip

These are the FC.NET version 4 dlls and there are some API changes. Most of them are renamed enumerations, now the enums don't have 'E' prefixes and the enum members don't have abbreviations in them. E.g. 'EBoxStyle.bsRect' is now 'BoxStyle.Rectangle'. There are some other renamed properties, you can use VS Intellisense to find their new names. We'll post a beta version with update API reference in 1-2 days.

If you are interested in trying out new features, check out the RowSpan and ColumnSpan properties of the Cell class. You can create quite complex nodes using spanning table cells so there might not be any need to use groups anymore.

Stoyan
  
Back to top
 
IP Logged
 
rusted
YaBB Newbies
*
Offline



Posts: 42
Joined: Nov 3rd, 2005
Re: Undo and groups
Reply #17 - Nov 4th, 2005 at 1:38pm
Print Post  
I have downloaded the new DLLs, repointed my references to them, and changed all the build errors (fix the enum changes).  I now get the following error thrown:

Message: Specified argument was out of the range of valid values.
Parameter name: Index was out of range.  Must be non-negative and less than the size of the collection.
User:
Computer:
Type: ArgumentOutOfRangeException
Source: mscorlib

Stack:    at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
   at MindFusion.FlowChartX.RowCollection.get_Item(Int32 index)
   at MindFusion.FlowChartX.Table.xf3132ae6a1ecafe3(CollectionVisitor x672ff13faf031f3d)
   at MindFusion.FlowChartX.Table.xaec6c6bdaa2eaa5b(Boolean x43b3be9d0636be71)
   at MindFusion.FlowChartX.Group.xaec6c6bdaa2eaa5b()
   at MindFusion.FlowChartX.Node.xaec6c6bdaa2eaa5b(Boolean x43b3be9d0636be71)
   at MindFusion.FlowChartX.Box.xaec6c6bdaa2eaa5b(Boolean x43b3be9d0636be71)
   at MindFusion.FlowChartX.FlowChart.x15edd106dba2f3b0(Graphics x4b101060f4767186, RectangleF xa6236fc5cd405c4e, Boolean x979174172ae18db3)
   at MindFusion.FlowChartX.FlowChart.x525e7084c19f09ac(Bitmap xcb82cf45bd90fc15, Rectangle xd1cff1e8f8666dbe, Boolean x979174172ae18db3, Boolean x650cceda2a9df79e)
   at MindFusion.FlowChartX.FlowChart.x525e7084c19f09ac(Bitmap xcb82cf45bd90fc15, Rectangle xd1cff1e8f8666dbe, Boolean x979174172ae18db3)
   at MindFusion.FlowChartX.FlowChart.OnPaint(PaintEventArgs pe)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+I
MsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)


Any ideas?

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo and groups
Reply #18 - Nov 4th, 2005 at 1:54pm
Print Post  
does that happen after undo ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo and groups
Reply #19 - Nov 4th, 2005 at 2:27pm
Print Post  
could you try that now without the event handling code that changes the ZIndexes in your project ?
  
Back to top
 
IP Logged
 
rusted
YaBB Newbies
*
Offline



Posts: 42
Joined: Nov 3rd, 2005
Re: Undo and groups
Reply #20 - Nov 4th, 2005 at 3:09pm
Print Post  
No, I am not even getting to test the Undo ... this exception is thrown on form load when trying to display the flowchart ...
  
Back to top
 
IP Logged
 
rusted
YaBB Newbies
*
Offline



Posts: 42
Joined: Nov 3rd, 2005
Re: Undo and groups
Reply #21 - Nov 4th, 2005 at 3:11pm
Print Post  
Message: Specified argument was out of the range of valid values.
Parameter name: Index was out of range.  Must be non-negative and less than the size of the collection.
User:
Computer:
Type: ArgumentOutOfRangeException
Source: mscorlib

Stack:    at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
   at MindFusion.FlowChartX.RowCollection.get_Item(Int32 index)
   at MindFusion.FlowChartX.Table.xf3132ae6a1ecafe3(CollectionVisitor x672ff13faf031f3d)
   at MindFusion.FlowChartX.Table.xaec6c6bdaa2eaa5b(Boolean x43b3be9d0636be71)
   at MindFusion.FlowChartX.Group.xaec6c6bdaa2eaa5b()
   at MindFusion.FlowChartX.Node.xaec6c6bdaa2eaa5b(Boolean x43b3be9d0636be71)
   at MindFusion.FlowChartX.Box.xaec6c6bdaa2eaa5b(Boolean x43b3be9d0636be71)
   at MindFusion.FlowChartX.FlowChart.x15edd106dba2f3b0(Graphics x4b101060f4767186, RectangleF xa6236fc5cd405c4e, Boolean x979174172ae18db3)
   at MindFusion.FlowChartX.FlowChart.x525e7084c19f09ac(Bitmap xcb82cf45bd90fc15, Rectangle xd1cff1e8f8666dbe, Boolean x979174172ae18db3, Boolean x650cceda2a9df79e)
   at MindFusion.FlowChartX.FlowChart.x525e7084c19f09ac(Bitmap xcb82cf45bd90fc15, Rectangle xd1cff1e8f8666dbe, Boolean x979174172ae18db3)
   at MindFusion.FlowChartX.FlowChart.OnPaint(PaintEventArgs pe)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at Infragistics.Win.UltraWinToolbars.NativeWindowMethods.RedrawWindow(IntPtr hWnd, IntPtr rectUpdate, IntPtr hrgnUpdate, UInt32 flags)
   at Infragistics.Win.UltraWinToolbars.NativeWindowMethods.RedrawWindowApi(IntPtr hWnd, IntPtr rectUpdate, IntPtr hrgnUpdate, UInt32 flags)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.SetRedraw(Boolean setRedrawOn)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.VerifyRedrawOn()
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()


  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo and groups
Reply #22 - Nov 4th, 2005 at 3:19pm
Print Post  
I am afraid I can't get the exception, using both versions of the source code you copied here (fixing the renamed APIs). It might be that some property name is mismatched and now gets an unexcpected value. Here's my version of the source:

    Private miUniqueCmdCount As Integer = 1
    Private WFNodeWidth As Single = 40
    Private WFNodeHeight As Single = 30
    Private mWFItems As New Hashtable

    Private Sub btnWFUndo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnWFUndo.Click
       flwChart.UndoManager.Undo()
    End Sub

    Private Sub btnWFAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnWFAdd.Click
       Dim iTopLeft As Single = (flwChart.GridSize / 2) + flwChart.GridSize
       miUniqueCmdCount += 1
       Dim cmd As Commands.CompositeCmd = flwChart.UndoManager.StartComposite("BoxAdd" + miUniqueCmdCount.ToString)
       Dim bx As MindFusion.FlowChartX.Box = flwChart.CreateBox(iTopLeft, iTopLeft, WFNodeWidth, WFNodeHeight)
       Dim csiID As String = System.Guid.NewGuid.ToString
       InitialiseWorkflowNode(flwChart, bx, csiID, True)
       AddWorkflowItem(csiID)
       cmd.Execute()
    End Sub

   

    Private Sub AddWorkflowItem(ByVal csiID As String)
       If Not mWFItems.ContainsKey(csiID) Then
           mWFItems.Add(csiID, csiID)
       End If
    End Sub

   

    Public Sub InitialiseWorkflowNode(ByRef flwChart As FlowChart, ByRef bx As MindFusion.FlowChartX.Box, ByVal csiID As String, ByVal newBox As Boolean)

       Dim alEmpty As New ArrayList
       Dim i As Integer
       Dim tbl As Table
       Dim grp As Group
       Dim bxPic As MindFusion.FlowChartX.Box
       bx.Tag = csiID
       bx.Text = vbCrLf + vbCrLf + "test"
       If newBox Then
           bx.EnabledHandles = [Handles].All
           bx.Resize(WFNodeWidth, WFNodeHeight)
           bx.HandlesStyle = HandlesStyle.HatchHandles3
           tbl = flwChart.CreateTable(bx.BoundingRect.Location.X, bx.BoundingRect.Location.Y, WFNodeWidth, 15)
           tbl.CaptionHeight = 8
           tbl.RowCount = 0
           tbl.Locked = True
           tbl.Style = TableStyle.Rectangle
           tbl.ZIndex = bx.ZIndex + 1
           tbl.AnchorPattern = Nothing
           tbl.ShadowOffsetX = 0
           tbl.ShadowOffsetY = 0
           tbl.PicturePos = ImageAlign.MiddleLeft
           Dim tbrush As New MindFusion.FlowChartX.LinearGradientBrush(Color.White, Color.DarkGoldenrod, 90)
           Dim blend As New ColorBlend(3)
           blend.Colors(0) = Color.DarkGoldenrod
           blend.Colors(1) = Color.White
           blend.Colors(2) = Color.DarkGoldenrod
           blend.Positions(0) = 0
           blend.Positions(1) = 0.5
           blend.Positions(2) = 1
           tbrush.InterpolationColor = blend
           tbl.Brush = tbrush
           grp = flwChart.CreateGroup(bx)
           grp.Tag = bx.Tag
           grp.AttachToCorner(tbl, 0)
           grp.AutoDeleteItems = True
           bxPic = flwChart.CreateBox(bx.BoundingRect.Location.X, bx.BoundingRect.Location.Y, 8, 8)
           bxPic.Style = BoxStyle.Rectangle
           bxPic.FillColor = Color.Transparent
           bxPic.FrameColor = Color.Transparent
           bxPic.PicturePos = ImageAlign.MiddleRight
           bxPic.ZIndex = tbl.ZIndex + 1
           bxPic.AnchorPattern = Nothing
           bxPic.ShadowOffsetX = 0
           bxPic.ShadowOffsetY = 0
           bxPic.Locked = True
           grp.AttachToCorner(bxPic, 0)
       Else
           bxPic = bx.SubordinateGroup.AttachedObjects(0)
           tbl = bx.SubordinateGroup.AttachedObjects(1)
       End If
       tbl.Caption = "My Caption"
       'bxPic.Picture = SomePicture
       bx.ToolTip = "My Tooltip"
    End Sub

   
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
       flwChart.UndoManager.UndoEnabled = True
       flwChart.UndoManager.History.Capacity = 100
    End Sub
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo and groups
Reply #23 - Nov 4th, 2005 at 3:25pm
Print Post  
It is something about the table rows shown at the top of the call stack. What's the last version of your code that setups table dimensions, and have you created spanning cells ?  it's possible something related to them throws the exception, we haven't tested them much yet.
  
Back to top
 
IP Logged
 
rusted
YaBB Newbies
*
Offline



Posts: 42
Joined: Nov 3rd, 2005
Re: Undo and groups
Reply #24 - Nov 6th, 2005 at 7:13pm
Print Post  
The only code I have regarding tables is as below.  i have not done anything regarding spanning cells:


       Dim tbl As Table

           tbl = flwChart.CreateTable(bx.BoundingRect.Location.X, bx.BoundingRect.Location.Y, WFNodeWidth, WFTableHeight)
           tbl.CaptionHeight = 8
           tbl.Rows.Clear()
           tbl.Locked = True
           tbl.Style = TableStyle.Rectangle
           tbl.ZIndex = bx.ZIndex + 1
           tbl.AnchorPattern = Nothing
           tbl.ShadowOffsetX = 0
           tbl.ShadowOffsetY = 0

           tbl.PicturePos = ImageAlign.MiddleLeft
           Dim tbrush As New MindFusion.FlowChartX.LinearGradientBrush(Color.LightBlue, Color.LightBlue, 90)
           Dim blend As New ColorBlend(3)

           blend.Colors(0) = Color.DarkGoldenrod
           blend.Colors(1) = Color.White
           blend.Colors(2) = Color.DarkGoldenrod

           blend.Positions(0) = 0
           blend.Positions(1) = 0.5
           blend.Positions(2) = 1

           tbrush.InterpolationColor = blend
           tbl.Brush = tbrush

           grp = flwChart.CreateGroup(bx)
           grp.Tag = bx.Tag
           grp.AttachToCorner(tbl, 0)
           grp.AutoDeleteItems = True

       tbl.Caption = "some caption"

???
  
Back to top
 
IP Logged
 
rusted
YaBB Newbies
*
Offline



Posts: 42
Joined: Nov 3rd, 2005
Re: Undo and groups
Reply #25 - Nov 6th, 2005 at 7:18pm
Print Post  
well, since you mentioned it had something to dow tith the table rows, I added a row to the table with height 0, and the problem went away.  New code as below:


           tbl = flwChart.CreateTable(bx.BoundingRect.Location.X, bx.BoundingRect.Location.Y, WFNodeWidth, WFTableHeight)
           tbl.CaptionHeight = 8
           tbl.Rows.Clear()

           tbl.AddRow()
           tbl.Rows(0).Height = 0

           tbl.Locked = True
           tbl.Style = TableStyle.Rectangle
           tbl.ZIndex = bx.ZIndex + 1
           tbl.AnchorPattern = Nothing
           tbl.ShadowOffsetX = 0
           tbl.ShadowOffsetY = 0


Does that mean there is a bug when a table has no rows?
  
Back to top
 
IP Logged
 
rusted
YaBB Newbies
*
Offline



Posts: 42
Joined: Nov 3rd, 2005
Re: Undo and groups
Reply #26 - Nov 6th, 2005 at 7:29pm
Print Post  
Sad

As per my previous post, I am now on the new DLLs, but am still getting the behaviour as described below:

I have added an extra box to the group which initially is given a ZIndex of 1 greater than the table (which has a ZIndex 1 greater than the mainobject box.  If I select a main box, delete it, and then do an Undo, the 1st item added to the group (the table) appears correctly due to the workaround coded below, but with the main box selected, the 2nd item added to the group (the small box) is not visible.  If I de-activate the main box by clicking away from it, the small box now re-appears.  Whenever the main box gets re-selected, however, the small box once again disappears.

Sad
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo and groups
Reply #27 - Nov 7th, 2005 at 5:40am
Print Post  
Ok, the new bug that happens with 0-row tables is probably related to the Table class features added in v.4, the developer will investigate it further.

Have you tried the undo function without the workarounds coded in ActionUndone, BoxActivated and BoxDeactivated event handlers? Without these handlers, the Z order was restored correctly when I tested the VB.NET code here. With them, the Z order seems shuffled after undo restores it.

If that still happens, could you upload your whole test project here:

http://mindfusion.org/cgi/HelpDesk/index.php?

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo and groups
Reply #28 - Nov 7th, 2005 at 11:28am
Print Post  
Hello,

Thank you for the test project. Regarding problems 2) and 3), you can fix these by using some FlowChart.NET method instead of directly manipulating the collections. E.g. instead of calling table.Rows.Clear() call table.RowCount = 0. Instead fc.Boxes.Remove(bx) call fc.DeleteObject(bx). These are needed because items could be contained in several collections, e.g. a box is both in the fc.Boxes and fc.Objects collections.

I can see now the problem with ZIndex, the developer will try to fix it in the today's build of the dlls.

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Undo and groups
Reply #29 - Nov 7th, 2005 at 2:22pm
Print Post  
We found that the last problem, with the icon box appearing below the table, is not related to the Z order but to the order of items in the group. When a node is selected, it is painted together with all arrows and subordinated nodes related to it, at the top of Z order above all other items. But in that case, they are painted according to their position in the group item list and not to their Z index, so there is this difference in appearance between when the group is selected or unselected.

We'll fix that in the next build of the beta dlls tomorrow.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 ... 6
Send TopicPrint