Information générale
Catégorie:
Contrôles ActiveX
I have written an activex control in VB6. Is there a way to tell if the control is in the design mode or the run mode. It seems that when a form is in design mode the controls events that fire are initailize, initproperties(only fires when the control is dropped on the form), readproerties. When you hit f5 to run the program the writeproperties, and terminate events fire then the initialize, readproperties.... fire. How can i distinguish between the vb's design mode, and when the application that is using my control is running?
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