Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When does INIT EVENT fire off?
Message
From
16/05/1998 08:13:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/05/1998 11:30:23
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00099475
Message ID:
00099916
Views:
24
>>Robert,
>>
>>As Cetin says it only fires once during object construction. But you can call it from code. So if it's firing again on you during object destruction look for an explicit call to the Init() method.
>>
>>>Does the INIT EVENT fire off when you THINSFORM.REFRESH?
>---
>hi david and thanks for answering...
>how do i call the init() from code..
>do I - thisform.init.click() -
>please give me a sample in code... :)
Hi Robert,
I should avoid a misunderstanding. Normally if you don't do an EXPLICIT call init fires on construction. Otherwise you could of course call and fire it like you could call and fire a click event even if there were no click at all.
* Call an objects's init - oMyObject = thisform.anobject
oMyobject.init(params here)
* Call form init
thisform.init(params)
*If you want to fire in form.refresh
* then add thisform.init() to refresh code
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform