Afier,
You can also set the other pages .Enabled property=.f. if you don't want them going to them.
Look at the GETFLDSTATE() function to tell if any fields have been changed, it's much easier than working with the InteractiveChange method.
>We are using Visual FoxPro 5.0 and we are making a framework. For our security form we are using pageframes. On the first pageframe are textboxes wich values are bounded to a table wich has an optimistic table buffering. If one of the values is changed the InterActiveChange()-method will set a RecordChanged-property to .T. (true). We are using that property to check if there is any change in a textbox-value. If we want to change to another pageframe a messagebox will apear with the message "Discard changes?". If we say "no" we don't want to change pageframes. The problem is that we cannot prevent to show the second pageframe before it change back to the first one. We already tried to use the Dectivate Event()-method for the first pageframe, but it does not work. Is there another way to solve this problem? Thank you for your time.