Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why my AfterRowColChange not functioning properly
Message
From
17/11/2004 12:07:49
 
 
To
17/11/2004 11:36:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00962129
Message ID:
00962261
Views:
9
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform