Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling method
Message
From
08/02/1999 13:43:05
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00185088
Message ID:
00185172
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform