Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Look for any code in the listbox that refers to This.Parent... When you saved it as a class with other controls it was put in a container object so its Parent is no longer the form. Replace the This.Parent with Thisform
Hi Jim,
No there are no references to This.Parent. The only code is a SQL Select into Array in the Requery method. Then in the Interactive Change Event I check the value. When it is added to the class container on the form it works (has the value from the array). When added directly to the class it doesn't (is always 0).
Précédent
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