Mike Yearwood
Toronto, Ontario, Canada
I have a control with Init() method that is doing SET DELETED and is instancing before PageFrame is instancing, so if that Init() is before Init() of PageFrame how come that doesn't work?
I have checked with Load() on Form and that's ok.
>No, this is not a bug. You need to SET DELETED ON before the init of the controls. The controls init before the form inits. Try setting this in the form's load event. You can add SET DELETED ON to your form class's load event. Then subclass that form to make all other forms and this should never happen to you again.
>
>>I have a PageFrame in a Form and in Init() method of Form I have put SET DELETED ON but controls in a PageFrame still shows values that are marked for deletion!
>>
>>Is this a bug?
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