Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent a pageframe change?
Message
From
16/09/1998 12:37:19
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
16/09/1998 12:34:27
Koos Veel
Gamma Research
Aruba
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00137341
Message ID:
00137343
Views:
17
>Hello,
>
>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.
>
>Greetings,
>
>Afier Appelman
>Using the account of Koos Veel
Try UIEnable event.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform