Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generating a Form with by a PRG
Message
From
10/08/1999 15:33:51
 
 
To
10/08/1999 15:18:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00252153
Message ID:
00252183
Views:
9
Claudio-
Here's an example. What I did was issue
CREATE FORM temp
from the command window. I saved the form, then opened it in the classbrowser, and viewed the code. Then I cut&paste that code into a new prg. I added the Createobject() and show() code to run the form. HTH
LOCAL ox 
ox = CREATEOBJECT( 'form1' )
ox.show(1)

**************************************************
*-- Form: form1 (c:\nec\temp.scx)
*-- ParentClass: form
*-- BaseClass: form
*-- Time Stamp: 08/10/99 01:32:12 PM
*
DEFINE CLASS form1 AS form


DoCreate = .T.
Caption = "Form1"
Name = "Form1"


ENDDEFINE
*
*-- EndDefine: form1
**************************************************
.Signature { margin-top: 12px; color: #666666; } .Signature a { color: #666666; }
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform