Quintiq file version 2.0
|
#parent: #root
|
MethodOverride GotoPrevious (LibWiz_InitElement current) as LibWiz_InitElement
|
{
|
TextBody:
|
[*
|
assert( current.Parent() = this, "Error Inconsistent LibWiz_InitElement tree" );
|
|
previous := null( LibWiz_InitElement );
|
if( isnull( current.Previous() ) )
|
{
|
previous := this.MakeCurrent( true );
|
}
|
else if( current.Previous().IsEnabled() )
|
{
|
previous := current.Previous().MakeLastChildCurrent();
|
}
|
else
|
{
|
previous := this.GotoPrevious( current.Previous() );
|
}
|
|
return previous;
|
*]
|
}
|