Microsoft KB Archive/252787: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 49: Line 49:
or go to page 529 in ''Microsoft Visual FoxPro 6.0 Language Reference.''<br />
or go to page 529 in ''Microsoft Visual FoxPro 6.0 Language Reference.''<br />
<br />
<br />
Locate the section labeled &quot;WITH cParameterList.&quot;<br />
Locate the section labeled "WITH cParameterList."<br />
<br />
<br />
The documentation currently states:
The documentation currently states:
<div class="indent">
<div class="indent">


&quot;If a form set is run, the parameters are passed to the form set's Init method if the form set's WindowType property is set to ModeLess (0) or Modal (1). The parameters are passed to the '''Setup1''' method if the form set's WindowType property is set to Read (2) or ReadModal (3).&quot;
"If a form set is run, the parameters are passed to the form set's Init method if the form set's WindowType property is set to ModeLess (0) or Modal (1). The parameters are passed to the '''Setup1''' method if the form set's WindowType property is set to Read (2) or ReadModal (3)."





Latest revision as of 13:52, 21 July 2020

Knowledge Base


DOC: DOCERR: Parameters Passed to Form Set's Load not Setup1

Article ID: 252787

Article Last Modified on 7/24/2001



APPLIES TO

  • Microsoft Visual FoxPro 6.0 Professional Edition



This article was previously published under Q252787

SUMMARY

In the Microsoft Visual FoxPro Command window, enter the command:

HELP DO FORM
                

or go to page 529 in Microsoft Visual FoxPro 6.0 Language Reference.

Locate the section labeled "WITH cParameterList."

The documentation currently states:

"If a form set is run, the parameters are passed to the form set's Init method if the form set's WindowType property is set to ModeLess (0) or Modal (1). The parameters are passed to the Setup1 method if the form set's WindowType property is set to Read (2) or ReadModal (3)."


The documentation should state:

If a form set is run, the parameters are passed to the form set's Init method if the form set's WindowType property is set to ModeLess (0) or Modal (1). The parameters are passed to the Load method if the form set's WindowType property is set to Read (2) or ReadModal (3).


In the second sentence, note that the parameters are passed to the LOAD method not the Setup1 method.

MORE INFORMATION

The WindowType property settings of Read (2) or ReadModal (3) are included for backward compatibility and available only for forms converted from previous versions of FoxPro.

REFERENCES

Visual FoxPro Help, search on: DO FORM

Microsoft Visual FoxPro 6.0 Language Reference, pp 529

Keywords: kbdocs kbdocerr KB252787