Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execute the parent class method, but not a grandparent
Message
De
26/07/2001 03:05:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/07/2001 02:54:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00535248
Message ID:
00535547
Vues:
17
>>
>>Because the code will only execute when thisform.hasnavstand=.T., you can use this kludge:
>>
>>
>>LOCAL llHasNavStand, luResult
>>
>>llHasNavStand=thisform.hasnavstand
>>thisform.hasnavstand=.F.
>>luResult=DODEFAULT()
>>thisform.hasnavstand=llHasNavStand
>>
>>RETURN luResult
>>
>>
>>hth,
>
>Frank,
>IMHO situation specific solution based on assumption higher level class wouldn't need at all.
>A case showing how dodefault() might be abused :(
>What happened to good old class scope resolution operator :: ?
>dodefault() was only meant to be a shortcut. It is merely :
>parentclass::method
>
>desiredclasslevel::method
>Is the route IMO.
>Regards
>Cetin

I take my word. Reading title and whole thread I think this is bad from the beginning as David pointed out.
As the creator of Highlightedgrid I somehow got it wrong and expected the highlighted to be top level class. I think it's not :( worse it's not HighLighted class anymore.
Sorry.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform