Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with DynamicBackColor
Message
De
10/11/2020 10:41:50
 
 
À
10/11/2020 06:22:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01677077
Message ID:
01677087
Vues:
47
Hi Tamar,

I set the record source just after the grid is added to the form - this is that form where I dynamically add "blocks" of controls (they are in a container). But then the record source does not change for the life of the container. After displaying the grid, focus is put onto another control outside of the grid. The user has to explicitly click "Add Row" to add a row to the grid and then at that point, I add a record to the view.

I will try adding a record to the view *before* the grid is bound to the view to see if that helps.

Albert

>
>Is it possible that the way you're adding the first row, you're actually reconstructing the RecordSource for the grid? Grids lose all their customization if you change their RecordSource.
>
>Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform