Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this bug corrected in VFP9 SP2?
Message
De
09/02/2008 08:02:33
 
 
À
09/02/2008 07:43:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01291034
Message ID:
01291036
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>Grid.RowColChange can't detect rowChange. Is this corrected?
>
>
>Public oForm
>oForm = Createobject('myForm')
>oForm.Show
>
>Define Class myForm As Form
>  DataSession = 2
>  Add Object myGrid As Grid
>  Procedure Load
>    Use (_samples+'data\customer')
>  Endproc
>  Procedure myGrid.BeforeRowColChange
>    Lparameters nColIndex
>    If This.RowColChange = 1
>      Nodefault
>    Endif
>  Endproc
>Enddefine
>
>Cetin

______
Cetin,

It only detects it if you stay in the same column

If you change your program, it runs as expected
Public oForm
oForm = Createobject('myForm')
oForm.Show

Define Class myForm As Form
  DataSession = 2
  Add Object myGrid As Grid
  Procedure Load
    Use (_samples+'data\customer')
  Endproc
  Procedure myGrid.BeforeRowColChange
    Lparameters nColIndex
    _show, this.RowColChange
    if( inlist(This.RowColChange, 1,3) )  && test 3 as well
      Nodefault
    Endif
  Endproc
Enddefine
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform