main logo
Subject: Re: CD 6.1 Change Docs
Author: James Sayer
Posted: 2001/08/17 18:31:19
 
View Entire Thread
New Search



Also, I noticed that the class based menus are built differently. Why is this? Is there a way to revert to the previous method of using LoadChildren? If not, did someone create a tool to convert the old code?

Dan

Greetings Dan,

The new class oriented menus aren't so bad. Beware of creating class names that are too long because there is a VFP line length limit on the menu popup property. Open the menu popup builder and uncheck the .AutoCenter property so the builder is fully visible when it opens. Then try using the builder to make your menus. It's different.

I don't think it's better than the older method, but for newbie's it could be better.

I can pass on these changes and gotcha's for class menus:
> menubldr.vcx MenuPadBuilder.cCaption text box is set to read-only.
. change that.

> the classes used for menus must have a prefix that will be converted to an "o". For example: CustomerEditBar will be created as oustomerEditBar. Simply name your class aCustomerEditBar so that you get oCustomerEditBar. Lot of fun menu errors around this one.

It shouldn't be hard to switch back, especially if you are not using security features. Good luck.
James Sayer
 
©2001 James Sayer
<-- Prior Message New Search Next Message -->