This feels like either a very simple question, or one requiring
a binary chop through 2.5k lines of of code.

On exiting a routine, I have the following code:

         $self->{Ctl_Main_Nbk}->DeletePage(1);

Which produces a fatal, but unidentified, error although a few lines earlier
I have

        my $loc_page_count=$self->{"Ctl_Post_Exam_Nbk"}->GetPageCount();
        my $i;
        $self->{"Ctl_Post_Exam_Nbk"}->SetSelection(0); # Set focus on first
tab to avoid rippling effect
        for ($i=$loc_page_count;$i>=1;$i--) {
            
        #   Remove tabs
        
            $self->{Ctl_Post_Exam_Nbk}->DeletePage($i-1);
        }
         $self->{"Ctl_Post_Exam_Nbk"}->Destroy();

Which works fine for deleting a notebook within the above referenced
self->{Ctl_Main_Nbk}

It seems, either I have missed some finer point of syntax,
or I have something incorrectly constructed on my page.

Does anyone have any ideas how I could proceed?

Thanks in advance and

Regards

Steve

<<Blank Bkgrd.gif>>

Reply via email to