Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save form
Message
 
To
07/03/2005 14:17:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
00993371
Message ID:
00993382
Views:
16
Try this:
oForm = Createobject("myForm")
oForm.Show()

Define Class myForm As Form
   DataSession = 2
   Height = 400
   Width = 600
   minbutton=.f.
   closable=.f.
   minbutton=.f.
   autocenter=.t.
   windowtype=0 or 1 && It can't be  bigger then 1

Add Object cmdMyCmdBtn AS CommandButton With ;
    Caption = '',;  && Here is one of Yours errors
    Cancel = .T.,;
    Left = 125 ,;
    Top = 210 , ;
    Height = 25

PROCEDURE cmdMyCmdBtn.Click && The event/method of an object coantaned by the form must be preceded with its name
   thisform.saveAs("TestForm")
   thisform.release && this does not show in the click prop.
Enddefine
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform