Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event Processing Basic Query...
Message
From
30/06/1999 19:24:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Event Processing Basic Query...
Miscellaneous
Thread ID:
00236220
Message ID:
00236220
Views:
45
I'm obviously missing something very basic here.
This is the nitty gritty - the event management that I can't grasp within vfp.

I have two ways a user might enter the address book from other forms. Both take the form 'do form address'. One works as expected. When the user presses 'alt a' the program executes 'do form address'. The form loads and sits there waiting for user input until they 'quit' the form.

The second one is activated in response to the user answering (affirmatively) the question 'add new address now?' from the validation method in the other form . This then also executes 'do form address', loads the form, activates the first page but then continues past the 'do form address' line without stopping to let the user do anything.

I can vaguely understand that part of the problem is that for the 'problem' code I'm calling the form from within the validation method of another form. But I don't understand why that should be an issue.

I've bodged around the problem by having the address form set itself to windowtype 1 if called from the other form's validation method and this works. But I'm sure that can't be the way it's supposed to be done!

What is it about the way you call a form that determines whether or not it is 'read'? Nothing I can find in the help sensibly or intelligibly explains this behaviour.

Confused

Harry
Next
Reply
Map
View

Click here to load this message in the networking platform