Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Toolbar Base Class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00229262
Message ID:
00318925
Vues:
17
>>I have done that but it seem not working for me can you please five me a sample project for this it will be great help & i will be obliged. I need help & I can't find any references.
>
>Okay, sure...here's the general idea. Create a top-level custom property, here it's called 'toptoolbar' -- the in TL (top-level) Activate, add the toolbar class...
>
>
>if type('this.toptoolbar') != 'O'
>  set classlib to toolclass
>  this.toptoolbar = createobject('toptoolbar')
>  release classlib toolclass
>endif
>

Or, in VFP6, NEWOBJECT() can instantiate an object from a class from without having to add it to your SET CLASSLIB list:

this.toptoolbar = NEWOBJECT('toptoolbar','toolclass')

>In toolbar init, I have
>
>this.show
>this.dock(0)
>
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform