Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why my AfterRowColChange not functioning properly
Message
De
17/11/2004 12:07:49
 
 
À
17/11/2004 11:36:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00962129
Message ID:
00962261
Vues:
8
Yes, they've always refreshed fine by themselves, because of the rel's set up in the DE. I just can't get the middle grid to highlight when I leave it. At least I've stopped the "bouncing" cursor on the middle grid. The AfterRowColChange code now stands as follows:
* Need this bit to filter the data in the child grid of this
Select pxCOMPLETE
lnFacCatCode	= FACCATCODE

Select FACDESC	
If EMPTY( lnFacCatCode)
    Set Filter To 
Else
    lcFilter	= "FAC_CAT_CODE = " + ALLTRIM( STR( lnFacCatCode)) + ;
		  " OR EMPTY( FAC_CAT_CODE)"
    Set Filter To &lcFilter 
Endif 
Locate

Select pxCOMPLETE

This.Refresh()          && Only place I can think of to force a refresh here.
Thisform.LockScreen		= .F.
Can you see anything I'm missing?
Cheers

Terry

>Remember that the setall method works if the object is refreshed so u should refresh each daughter grid as the main one scroll
>
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform