Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OnWriteBuffer
Message
De
04/02/1999 12:52:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
OnWriteBuffer
Divers
Thread ID:
00183958
Message ID:
00183958
Vues:
54
Hello,
I have onwritebuffer method which checks for follwing.
loControl = _screen.activeform.currentcontrol
If type ('loControl') = 'O'
loControl.SetFocus()
endif

problem is in my form. I have form with two pages. one page is entry page and second page is list page. while user enters data on entry page and when he clicked on list page , if data is unsaved i want to issue warning.
for this in the page 2 activate i am checking first writebuffer and then checking for changed data stuff.

but writebuffer does not give proper results because at that time there is no activecontrol on the form is available. so even if data is changed it shows that data has not changed and allows to see list page. pl. advise how this currentcontrol works and any alternative for onwritebuffer method ?
thankyou
john still
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform