Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox editing has gone funny - Bug
Message
From
10/04/2005 03:35:48
 
 
To
09/04/2005 08:03:21
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01002992
Message ID:
01003177
Views:
18
Thanks Fabio

That explains a bit.

regards
Geoff Scott

>>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
>
May all your weeds be wildflowers
Previous
Reply
Map
View

Click here to load this message in the networking platform