Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox editing has gone funny - Bug
Message
De
09/04/2005 08:03:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01002992
Message ID:
01003010
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform