Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox editing has gone funny - Bug
Message
From
09/04/2005 08:03:21
 
 
To
09/04/2005 05:00:34
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01002992
Message ID:
01003010
Views:
22
This message has been marked as a message which has helped to the initial question of the thread.
>Have tracked it down to BeforeRowColumnChange occuring when the grid is loosing focus.
>
>Is there anyway to determine whether the grid is loosing focus as opposed to the column is changing?
>
>Regards
>Geoff Scott
>>Hi

nearly:
exceptions
- exists a bug on TABLEREVERT()
that can fire BeforeRowColumnChange() with m.this.RowColChange=0 without loosing focus
( for this,
you can set a grid flag into Grid.Valid, check and reset it into Grid.BeforeRowColumnChange)
- if the CellControl.Valid fail ( 0,.f.,.NULL. ... ) the focus still on grid
( this is a design bug because the CellControl.Valid have to be fired before grid.Valid )

Then, without these exceptions:
* BeforeRowColumnChange 
IF EMPTY(m.this.RowColChange)
  * probably the grid loses the focus
ELSE
  * sure a internal Grid action
ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform