Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Runtime Forms Designer Capability
Message
 
 
To
29/01/2008 10:09:33
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01286605
Message ID:
01286644
Views:
21
>How\where would you store the new form, as the saveas method doesnt work in runtime?
>
>Thanks
>
>Jon

Do you want to create the form too?

If yes, then have a template form as a class, say, myTemplateForm.

In run-time:
loForm = newobject('myTemplateForm', 'myClassLib.vcx')

loForm.NewObject('lblTest','myLabelClass')
with loForm.lblTest
  .left = 5
  .top = 5

   .visible = .t.
endwith

loForm.Show()
from the top of my head (and memory).

You would not have this form saved as an SCX/SCT, but is it what you want?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform