Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BeforeRowColChange Event in grid
Message
De
24/02/2001 22:51:08
 
 
À
24/02/2001 09:08:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00479185
Message ID:
00479280
Vues:
40
Hi,
I have the following code in BRCC event
LPARAMETERS nColIndex

WITH THISFORM
  WITH .grdStocks

  DO CASE
  CASE nColIndex  = 4
    .COLUMNS(4).txtNewQty.VALUE = .COLUMNS(4).txtNewQty.VALUE
    .COLUMNS(5).txtAdj.VALUE = .COLUMNS(4).txtNewQty.VALUE - .COLUMNS(3).txtQty.VALUE 
  CASE nColIndex  = 5
   messagebox(str(.COLUMNS(3).txtQty.VALUE))   && VFP Show me the wrong value
     .COLUMNS(5).txtAdj.VALUE = .COLUMNS(5).txtAdj.VALUE
     .COLUMNS(4).txtNewQty.VALUE = .COLUMNS(3).txtQty.VALUE + .COLUMNS(5).txtAdj.VALUE
   ENDCASE

   ENDWITH
ENDWITH
The problem happened for the columns i am not on too!!

Any ideas?
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform