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
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:
01437500
Views:
35
1. Is your grid enabled? readonly=.T.

2. What is allowcellselection property set to? .T.


>>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 
>>
>
>1. Is your grid enabled?
>
>2. What is allowcellselection property set to?
Extreme Programming = Plan -> Design -> Code -> Test
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform