Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent a pageframe change?
Message
De
16/09/1998 12:50:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/09/1998 12:37:19
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00137341
Message ID:
00137348
Vues:
14
>>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
Forget UIenable.
*page.deactivate
if messagebox("Are you sure",4)=7
	nodefault
	this.controls(1).setfocus()
endif
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform