Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Grid RecordSource causes class definition to be lost
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Setting Grid RecordSource causes class definition to be lost
Divers
Thread ID:
00080583
Message ID:
00080583
Vues:
56
I am having trouble with a particular grid on one of my forms. The RecordSourceType is 1 - Alias (specifically, a cursor generated by a SQL statement). The first time that I build the cursor and attach it to grid's RecordSource, the grid retains its parent class DblClick event for myGrid.Col1.text1.DblClick.

Whenever I rebuild the cursor by re-running the SQL SELECT, however, the parent class settings for the grid are lost. The DblClick event no longer works and even the column widths and fonts are changed to be what looks like a regular BROWSE window.

Can someone tell me what I might be missing?

Thanks in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform