Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AVFP Intellisense tip
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Divers
Thread ID:
00781872
Message ID:
00782146
Vues:
14
Thanks - I wondered about that. It actually instanciates that class with the first line of code when in the IDE, but, I hadn't tested it at run time yet, just design time...
>Hi Claude,
>
>I don't think you can Replace oHTML = NewObject('AVFPhtml'). You still need that line in the code.
>
>Your code should read
>
*replace with whatever the complete physical path of activevfp.prg is
>LOCAL oHtml AS avfpHTML OF d:\dotcomsolution\avfpdemo2\prg\activevfp.prg
>oHTML = NewObject('AVFPhtml')
>
>Otherwise, at runtime, oHTML will be a logical FALSE, rather than the object reference you're after.
>
>Cheers,
>
>Andrew
>
>>ActiveVFP Intellisense tip: To bring up intellisense prompts for all of the methods and properties for all of the classes for AVFP, you could do the following:
>>Replace oHTML = NewObject('AVFPhtml') with
>>
>>*replace with whatever the complete physical path of activevfp.prg is
>>LOCAL oHtml AS avfpHTML OF d:\dotcomsolution\avfpdemo2\prg\activevfp.prg
>>
>>This way, when you type in oHTML. at design time, you'll get all of the available methods and properties to choose from. Only works with VFP 7 and 8, though...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform