Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Self running form
Message
 
 
To
01/11/2006 12:55:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01166250
Message ID:
01166251
Views:
14
John,

In the Init()
thisform.zipocx.DoYourThing()
return .f.
>Greetings. I am trying to create a self-running form. It has a PKZipping OCX on it and I'd like it to start, do its thing, and exit. I can put Keyboard O (for OK) in the Init of the form and it runs then exits correctly, but this seems hokey and requires the OK button to be enabled and visible. I'd like to hide the button since there is nothing for the user to do, which I can by moving it off the form (also hokey). Is there a standard way to do this? Thanks.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform