Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save form
Message
From
07/03/2005 14:17:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Save form
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
00993371
Message ID:
00993371
Views:
45
I am trying to make a prg so I can use it to make a form when I need a new form with these basic settings, but I get an error when I put "Windowtype=1" line and also I can't see the command button click procedure. Your help will be very much appreciated.

Shafid

The code is as below :

Public oForm
oForm = Createobject("myForm")
oForm.Show()
oForm.saveAs("TestForm")


Define Class myForm As Form
DataSession = 2
Height = 400
Width = 600
minbutton=.f.
closable=.f.
minbutton=.f.
autocenter=.t.
windowtype=1 && can't set this option

Add Object cmdMyCmdBtn AS CommandButton With ;
Caption = '\ Cancel = .T.,;
Left = 125 ,;
Top = 210 , ;
Height = 25

PROCEDURE Click
thisform.release && this does not show in the click prop.
Enddefine
Next
Reply
Map
View

Click here to load this message in the networking platform