Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When does INIT EVENT fire off?
Message
De
16/05/1998 08:13:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
15/05/1998 11:30:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00099475
Message ID:
00099916
Vues:
25
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform