PDA

View Full Version : Error: Scrolling container crash



Pieter van Dieren
11-Apr-2009, 02:31 PM
If you compile a view with a scrolling container without any other objects, VDF crashes.
(I know, why wouldn't you add any other objects, but I just did ;))

It crashes on this in Windows.pkg:



{ MethodType=Property Visibility=Private }
Function private.Next_object_id integer fg returns integer
integer hId
Forward Get Next_object_id fg to hId
function_return hId
end_function

Marcia Booth
13-Apr-2009, 10:07 AM
I was able to reproduce it. Thank you.

John Tuohy
14-Apr-2009, 03:03 PM
Pieter,

For now this may be a "don't do this". I looked at this and the problem goes deep. You can see the exact same thing if you create a view with two nested Container3ds with no other controls. Fixing this requires changing low level navigation logic. While this can be fixed it is a certainty that there will be side-effects. Those side effects may be worse than the problem this is fixing.

-John

Pieter van Dieren
15-Apr-2009, 03:02 AM
John,

Fine with me. ;)
Like I said it's quite unlikely you will not put other controls in the container.