Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on Read & Read Modal Window types
Message
From
16/10/2002 20:46:36
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00712076
Message ID:
00712108
Views:
11
Sergey,

Hi. I tried it. I get:
Error 1964 No PageFrame or Page is found in FormSet or Form

PROCEDURE FRSMAINMENU1.MENUSCRN.PAGEFRAME1.PAGE1.COMMAND8.VALID F:\MYCODE

I know that the converter creates that wacky pageframe and page thing. I don't really understand this thing which I think is called a 'read compatibility layer????

Any suggestions? It seems like I would need to manually put in a pageframe and page, seems crazy, or, figure out a different way for the modal mainmenu form to be replaced by the form that it calls.



>Hi David,
>
>Open formset as a table and add following lines(properties) to the Properties memo field of the formset records.
WindowType = 2
>ReadCycle = .T.
>ReadLock = .T.
>ReleaseWindows = .T.
I don't know if it would work or not so make sure that you've a backup copy of your formset. Only the first one is important (Read). The rest you can set from the property sheet.
>
>
>>I have just started maintenance work on a vfp6 app, where the majority of the forms in the app were converted from fpw2.6, using the 'converter tool??? (I vaguely remember this from vfp5 or 3???)
>>
>>All of the converted forms have - a formset,form, pageframe, and single page. Again I vaguely remember that some sort of conversion tool creates these objects.
>>
>>All of the converted forms have a window type of 'read'. I assume the converter makes it this way. In the drop down for windows types the choices are modeless, modal, read modal and read.
>>
>>There is a new(er) form that someone created, prior to my being here, that has a formset, and form, but not the pageframe/single page. It appears to have been created directly in vfp - and the window type is modal. This form (as well as any other new vfp forms I create) do not have read modal or read as a window type choice.
>>
>>Is read modal and read something that the converter creates just for converted forms? Or is there some other setting that needs to be true, or something that I have to do, to make the new(er) form have a window type of read.
>>
>>All the forms are called from a 'main menu form' with command buttons. When you click a command button/menu choice, the read forms pop up 'IN PLACE OF' the main menu form. However, when you click menu choice for the new(er) form, it pops up on top of and separate from the main menu form.
>>
>>The client likes the way that the read forms replace the main menu form. They want me to make the new(er) form do the same. How can I get a new vfp form to be a read form? Is that what makes it behave such that it replaces the instead of pops up over the main menu form?
>>
>>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform