Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic column colors
Message
De
17/08/2016 13:55:44
 
 
À
17/08/2016 13:21:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01639490
Message ID:
01639579
Vues:
57
>The weird thing, Antonio, is that if I use Ctrl+Tab on the keyboard to give focus back to grid1 it updates perfectly - it just freaks out when you call the AfterRowColChange from the LostFocus of the date fields in grid2.
>As I said earlier, I have had trouble before trying to access DynamicForecolor from anywhere other than in the grid itself.

John, would you please move it to the .Valid() event of the ArrivalDate textbox, and change it into:
LOCAL TrappedError AS Exception

TRY
  Thisform.Grid1.AfterRowColChange()
CATCH TO m.TrappedError
  MESSAGEBOX(m.TrappedError.Message)
ENDTRY
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform