Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AfterRowColChange not firing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01437496
Message ID:
01437500
Vues:
34
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform