Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling method
Message
De
08/02/1999 13:43:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00185088
Message ID:
00185172
Vues:
27
Hiya Rick ---

Or you can directly call the Parent event/method with:

ParentClass::Init()

Wasn't there something squirelly with DODEFAULT() at one time?


>
>In VCX
>Init
>?"Hello"
>...
>llSuccess = .T.
>RETURN .T.
>
>In form
>Init
>?"1st Hello"
>llRetVal = DoDefault()
>RETURN llRetVal
>
>
>
>>Hi,
>> Let's said I have already some codes in a particular event or method - Init event which in the control's class. Then, When i drop the control into form, I have added some new code into the same event mentioned previously and I want the original code execute after the new code.....
>>e.g.
>>In .vcx
>> Init
>> ?"Hello"
>>
>>After added into form
>> Init
>> ?"1st Hello..."
>> call .vcx's Init
>>
>>How to do so?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform