Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stupid question on forms
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00245745
Message ID:
00250394
Views:
22
David:

Did have one small question which should be easy to answer.

Basically my applications I am updating are single user applications. All databases are open at all times.

You were saying you prefer to use TableUpdate(). Where would you put this? I presume that the database gets written to automatically when the form is closed.

Would you put code to execute when the form is closed on the form's Destroy event?

Thanks
Bruce Strom


>Bruce,
>
>That is just off the wall enough to explain things!
>
>The VFP equivalent is READ EVENTS this will put your program into the event loop. When you want to end your program issue a CLEAR EVENTS and the program execution will continue to the line after the READ EVENTS.
>
>
>>I think I finally figured it out.
>>In the old Fox 2.6 code I have:
>>
>>
>>DO wrupmenb WITH 'Windows'
>>* this procedure builds the menues
>>PUBLIC m.Done
>>m.Done = .f.
>>READ VALID m.Done
>>
>>
>>It appears that this READ was interfering with the forms. Comment it out and it appears to work just fine.
Bruce Strom

Prayer of St Ephrem:
O Lord and Master of My Life,
Take from me the spirit of sloth, meddling, ambition and vain talk.
But give me a spirit of prudence, humility, patience and love.
Yes Lord and King grant me to see my own sins and faults
and not judge my brother.
For You are Blessed Forever and Ever. Amen.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform