main logo
Subject: Re: Problems in CB 6.1
Author: A Datta
Posted: 2001/04/06 00:18:14
 
View Entire Thread
New Search


I solved the problem by making the following changes in amenus.vcx

1. Rename the following Classes

Old Name: AdministrationPad
New Name: aAdministrationPad

Old Name: AdministrationPopup
New Name: aAdministrationPopup


2. Change the value of '.cChildList' properties of MainMenu and aAdministrationPopup to reflect the above changes.


<i><font color="#663300">>When using class based menus, MainMenu has 'AdministrationPad' in its '.cChildList'. But
>...
>What is the proper solution?

Hi all;
I have been working on this problem for the better part of the day. Solving it is all that is keeping me from rolling out the first installment of my first Codebook app!

Simply changing 'administrationPad' to 'iAdministrationPad' in .cChildList, as I think has been suggested elsewhere, is not a solution. The above described error is prevented, but now MainMenu does not use AdministrationPad, but instead uses the class iAdministrationPad. The consequence of this is that popup is empty, and we get a DIFFERNT error when Codebook attempts to disable the (now nonexistant) menubars.

This aChildren array element is apparently handled differently at two points in the framework: one expects a prefix and the other does not.

Can anyone with more experience tell me where to find the problem spots, or at least how to go about locating them?

</font></i>


 
©2001 A Datta
<-- Prior Message New Search Next Message -->