Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid problem
Message
De
03/09/2013 17:17:11
 
 
À
02/09/2013 11:02:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01581827
Message ID:
01581982
Vues:
72
>>>Before closing the underlying table unbind the grid using RowSource = '' line and then re-bind with your
>>>current code again after the table is opened again.
>>
>>
>>I've always been surprised VFP did not automatically unbind when the associated data source goes out of scope.
>>I think I will make that the default behavior in Visual FreePro.
>
>FWIW, This behavior was added to VFP9:
>Grids and RecordSource and ControlSource Properties
>
>In Visual FoxPro 9.0 there is a change in Grid control behavior.
>When the RecordSource property for a Grid control is set, Visual FoxPro 9.0 resets all ControlSource properties to the empty string ("") for all columns.
>In earlier versions of Visual FoxPro, the ControlSource properties were not properly reset,
>so problems could occur when a RecordSource with a different structure was later bound.
>This change may impact scenarios involving Access and Assign methods
>or BINDEVENT( ) function calls made against a Grid column's ControlSource property.
>
Thank you, Thierry. I appreciate you passing along this information to me.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform