Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event Sequence ?
Message
From
23/12/2002 12:41:40
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00735286
Message ID:
00735432
Views:
16
Hi David,
There was something in the PageFrame.Resize() and each Grid.Resize() methods that triggered my Prog(1) breakpoints.

Today, I can't get it do it.
I'm currently working on my Resize class, so I have code in places to test, but today everything is working the way I think it should.
I guess there were a lot of sun spots yesterday.



>Bill,
>
>Resize triggers anytime .Height or .Width change. In your case I suspect that you have non-default values assigned to both those items on the property sheet.
>
>>I just discovered that the Resize() Event for all controls in a form occur BEFORE any Init Events. And that the PageFrame.Resize() occurs twice.
>>
>>When I set a BreakPoint on "Prog(1)", the BreakPoints were triggered in this order:
>>1. Form.DataEnvironment.BeforeOpenTables()
>>2. Form.Load()
>>3. Form.PageFrame1.Resize()
>>4. Form.PageFrame1.Resize()
>>5. Form.PageFrame1.Page1.grdCalls.Resize()
>>6. Form.PageFrame1.Page1.grdCombos.Resize()
>>7. Form.PageFrame1.Page1.grdCalls.Init()
>>8. Form.PageFrame1.Page1.grdCombos.Init()
>>9. Form.PageFrame1.Init()
>>10. Form.Init()
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform