Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No respect properties.
Message
From
16/03/1999 13:12:39
Dave Nantais
Light speed database solutions
Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00198020
Message ID:
00198230
Views:
17
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform