>I think we've been through this before but I'll knock it once more. I have a form class that is created visually then launched using createobject('formclass') then form.show(). Yada Yada Yada everything fine but it doesn't respect certain properties even when set at runtime. Particularly the border, and controlbar area. I've tried load, init, show. ?? Can't remember the cure for this. TIA
The order of instatiation of a form is Load , Init , Show , Activate , GotFocus
However, this native order is interrupted when you programmatically SetFocus to a form member in these methods load,init,show,activate
make sure to issue any THIS.Member.SetFocus() at the end of the GotFocus method
the native instantiation order is also screwed up when using PageFrame that is the first form member in tab order ....
last month's Foxpro Advisor had a nice article on clean and simple ways of avoiding some pretty complex pitfalls.
HTH Dave.
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