In in a new layer of a project I added lines to form 2 arrows, and named the lines accordingly. I then grouped the lines forming each arrow. In VTFT this appeared to correctly group the lines, each forming an arrow. I also deleted a button* on layer0. When I then generated code and compiled, I found that the screen would be drawn, and then freeze, not executing any code after. The freeze would only happen on this screen, not other screens.
On inspection I found two objects that I was not aware that I had added. Whenever I tried to do anything to these objects I got an exception, so they could not be deleted in VTFT. I opened the VTFT project file in an external editor, and after manually deleting these objects and then generated code in VTFT again, the compiled code would run properly. I also notice that the grouping of the lines are gone. Here is the VTFT project file section I removed:
Code: Select all
object pObj1: TGroupBlock
Left = 310.000000000000000000
Top = 115.000000000000000000
Width = 6.000000000000000000
Height = 19.736842105263210000
Restrictions = [crNoRotation, crNoEdit]
MinWidth = 40
MinHeight = 40
Hint = 'pObj1'#13#10#13#10'Left : 310'#13#10'Top : 115'
Visible = True
Layer = 1
Transparency = 0
Members = <
item
DControl = __DSOwner___.ScopeScr_LineScopeScr_LineArrDwn
end
item
DControl = __DSOwner___.ScopeScr_LineDwnArrHeadR
end
item
DControl = __DSOwner___.ScopeScr_LineDwnArrHeadL
end>
Collapsed = False
end
object pObj2: TGroupBlock
Left = 310.000000000000000000
Top = 85.000000000000000000
Width = 6.000000000000000000
Height = 19.615384615384600000
Restrictions = [crNoRotation, crNoEdit]
MinWidth = 40
MinHeight = 40
Hint = 'pObj2'#13#10#13#10'Left : 310'#13#10'Top : 85'
Visible = True
Layer = 1
Transparency = 0
Members = <
item
DControl = __DSOwner___.ScopeScr_LineArrUp
end
item
DControl = __DSOwner___.ScopeScr_LineUpArrHeadR
end
item
DControl = __DSOwner___.ScopeScr_LineUpArrHeadL
end>
Collapsed = False
end