Re: OPO error clearing toolbar

From: Jonas Ekström <Jonas.Ekstrom_at_sth.frontec.se>
Date: 1996/02/20
Message-ID: <312A71F0.6AB1_at_sth.frontec.se>#1/1


Thomas Höljö wrote:
>
> Oracle Power Objects v 1.0
>
> My application must run without
> menus or toolbars, but I get
> problems with clearing the toolbar.
>
> Following code in method initializeWindow():
>
> DIM tbrMailForm AS Object
> tbrMailForm = frmMail.GetToolbar()
> tbrMailForm.ClearToolbar()
>
> gives error message:
> "FRW-06046 Index out of range getting
> toolbar information"
>
> Is there anyone who can help me out
> on this problem?
>
> e-mail: Thomas.Holjo.9405_at_student.uu.se
> Thomas Holjo
> Uppsala Universitet
> Sweden

Hi Thomas,
if you don't want to display the default toolbar just use SetToolbar(NULL). I suppose the association to the toolbar will disappear.

/Jonas Ekström.

In Swedish...
PS. Jag är ny på OPO så det var bara en chansning! DS. Received on Tue Feb 20 1996 - 00:00:00 CET

Original text of this message