Information générale
Catégorie:
Codage, syntaxe et commandes
If re-setting the DynamicBackColor value after assigning records works then great. But in my grid I have in the Init of the grid the creation of the cursor to hold the data (which now has no records), the setting of the grid binding to the cursor fields for each column, the restore of the column widths and display order, and finally the DynamicBackColor setting. At this point the grid has no records. In another place I have the code to query the backend tables via SQL into a temporary cursor. Then I append this temporary cursor to the cursor created in the grid's Init() event. I never have to reset the DynamicBackColor value.
If you do a SQL directly to the cursor set for the grid, then the grid does loose all the property settings.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement