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:
01166255
Views:
13
>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.
If you want to execute code in OK button Click event you coul use:
thisform.OKButton.Click() &&in Init event of the form
But if you code as it should (Execute Method from Event) then you can just call this method:
thisform.MethodThatHandleClickEventOfTheOKButton()
:-)
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