Re: Modal Forms and the Menu

Author: Matthew L. Brazier

Posted: 1998-06-17 at 00:17:02

Hi -

I have a modal form in SAVI/CB5, and I'm having problems with the menu File option - all the options under File are disabled. This should not be the case since even tho it's modal, the user can still add/delete etc. Is this a CB problem, or something I've created?

And an even bigger question.... WHERE do I go to fix it? (I know it's not in the skip for - skip for is working properly - I THINK it's disabling it at the PAD level for all the children and not looking at the individual BARs).

TIA!!

ellen

Ellen,

I think modal forms should not generally be used for data entry of records. However, there are times when you may want a form to be modal and allow record entry. What I do in this situation is use the ebizobjform with WidowType set to modal. Although this does not enable the File menu options, it does give me my toolbar and ALL the methods to process the records (I don't have to add any special code!)

Matthew L. Brazier

Developing in VFP 5/6/7, Visual Studio 6

website: www.braziercomputerconsulting.com

email: mbrazier@braziercomputerconsulting.com

©1998 Matthew L. Brazier