Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event firing BEFORE form.load
Message
From
04/03/2009 06:48:33
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01385412
Message ID:
01385425
Views:
71
>>Gary,
>>
>>I've seen this happen. Maybe someone knows a better solution but here's how I got around
>>
>>(1) Add a property to you form class 'Loading' and set it to .T.
>>
>>(2) at the end of your form's class Load() or at the start of the Init() set it to .f.
>>
>>(3) Test it
>>
>>Pageframe.PageCount_Assign
>>
>>if( m.thisform.Loading )
>>  && do nothing
>>endif
>>
>>
>>(4) you may need to add - at the end of the PageFrame's init()
>>
>>this.PageCount = m.this.PageCount
>>
>

>Interesting. But why do we need PageCount_Assign method in the first place?

Don't ask me - Gary needs it
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform