Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AfterRowColChange not firing
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
AfterRowColChange not firing
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01437496
Message ID:
01437496
Views:
107
Would anyone know why the grid AfterRowColChange event is not firing?
I have tried putting a wait window in BeforeRowColChange, neither fire.
This is the code in the AfterRowColChange event:
LPARAMETERS nColIndex

   WAIT WINDOW "RowCol: "+Transform(this.RowColChange)

IF INLIST(this.RowColChange,1,3) && row change or row & column change
    WITH ThisForm
        .p_type=ALLTRIM(This.clmPmtType.cboPayType.ListItem(This.clmPmtType.cboPayType.ListIndex))
         IF UPPER(.p_type)="CD"
    	.m_setProductDisplay(.F.)
         ELSE 
    	.m_setProductDisplay(.T.)
         ENDIF 
    ENDWITH
ENDIF 
Extreme Programming = Plan -> Design -> Code -> Test
Next
Reply
Map
View

Click here to load this message in the networking platform