Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Issuing a Create/modify Form in a program
Message
From
25/10/2012 19:04:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Issuing a Create/modify Form in a program
Miscellaneous
Thread ID:
01555837
Message ID:
01555837
Views:
96
Hi,

I'm issuing CREATE FORM and MODIFY FORM inside a program and getting error message 1001 (Feature is not available).

But, looking VFP help file, in the CREATE FORM it says:

NOWAIT
Continues program execution after the Form Designer has been opened. The program doesn't wait for the Form Designer to be closed, but continues execution on the program line immediately following the line that contains CREATE FORM NOWAIT. If you omit NOWAIT, when CREATE FORM is issued in a program, the Form Designer is opened and program execution pauses until the Form Designer is closed.

SAVE
When issued in a program, leaves the Form Designer open after another window is brought forward. Including the SAVE option has no effect when issued from the Command window.

In the MODIFY FORM VFP help file it says:

NOWAIT
Continues program execution after the Form Designer has been opened. The program doesn't wait for the Form Designer to be closed, but continues execution on the program line immediately following the line that contains MODIFY FORM NOWAIT. If you omit NOWAIT, when MODIFY FORM is issued in a program the Form Designer is opened and program execution pauses until the Form Designer is closed.

NOWAIT is effective only from within a program. It has no effect on MODIFY FORM when issued from the Command window. If NOWAIT is included with the METHOD clause, be sure to place NOWAIT before the METHOD clause or NOWAIT will be ignored.


SAVE
When issued in a program, leaves the Form Designer open after another window is brought forward. Including the SAVE option has no effect when issued from the Command window.

Why I'm getting the error message?

TIA

Fernando
Next
Reply
Map
View

Click here to load this message in the networking platform