Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this bug corrected in VFP9 SP2?
Message
From
09/02/2008 08:02:33
 
 
To
09/02/2008 07:43:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01291034
Message ID:
01291036
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform