main logo
Subject: Lock Screen Error and iNavToolbar Subclass
Author: Lynette Tillner
Posted: 2001/10/02 00:50:23
 
View Entire Thread
New Search


On my main form classes (all subclassed from ibizobjform with no modifications at this point) I set ctoolbarclass to anavtoolbar (a subclass of inavtoolbar with no modifications)

When I run any of these forms, And try to navigate to prior or next records I get an Error:

Error # 1733 - Class definitio cLockScreen is not found -- Line #2
Code: loLoc = Createobject("cLockScreen") - method - refreshform

This is NOT a CLOCK error as someone suggested --- I traced it to a LOCK SCREEN error.

The refreshform superclass (CBaseForm.RefreshForm() in cforms.vcx)
has this code:

LOCAL loLock
loLock = CREATEOBJECT("cLockScreen")

This.Refresh()
This.RefreshToolbar()

RETURN

When I comment out the LOCAL loLock and the loLock = ... lines, the prior and next methods do nothing (I assume the Lock has to be set by these two lines for the prior and next code to work) and CREATEOBJECT isn't working on my system at work OR at home on these forms/in this app.

Can Anyone Help me??? This is making me CRAZY. It seems to me that a simple subclass of the navtoolbar without modifications should just WORK!

Thank you in advance!

Lynette
ltillner (AT) yahoo .DO.T com

 
©2001 Lynette Tillner
<-- Prior Message New Search Next Message -->