Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BeforeRowColChange Event in grid
Message
De
26/02/2001 01:48:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
24/02/2001 22:51:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00479185
Message ID:
00479399
Vues:
42
>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?

Never happened to me. I don;t have an idea for what's going on there but why don't you directly use controlsources instead of .value
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform