Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids & VCR buttons
Message
De
03/06/1999 09:03:29
 
 
À
03/06/1999 08:18:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00225862
Message ID:
00225882
Vues:
16
Ed:

hierarchy:
vfp form
subclasses in baseform ( not change)
mvForm
mvEntryForm (where goNext is 1st added as a customer method and contains following code:)

if thisform.UnsavedChanges()
if ! thisform.UnsavedQuestion()
RETURN .F.
endif
endif

select (thisform.DataTable)
skip 1

* I expected this statement to update the controls and the grid, but it doesn't.
thisform.Refresh()

thisform.SetNavButtons()

SetNavbuttons() enables and disables the VCR buttons. I determine if I'm at the 1st or last and disable buttons appropriately and get back to the record that I just moved to.


mvScrollEntryForm (no code in goNext)
CustomerMaintenance.scx where I put the following code:

dodefault()
thisform.grdCustomerLookup.Refresh()

Any ideas?
Mike
Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform