Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing a toolbar
Message
 
À
31/07/1997 11:44:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00042383
Message ID:
00042632
Vues:
37
>>>>>>Is there a way for a toolbar to release itself? Anything like a form's release() method? I tried "release this".
>>>>>
>>>>>Albert,
>>>>>Set the toolbar to .NULL. should release the toolbar.
>>>>>Something like: oToolbar = .NULL.
>>>>>John.
>>>>
>>>>maybe _screen.removeobject('toolbarname')
>>>
>>>How can the toolbar class know the name of a particular instance? I want the toolbar to release itself.
>>
>>
>>Albert, Release ThisForm (2 words) works for my toobar class. Have you tried 'thisform' instead of 'this'? Sometimes that makes a difference....
>>
>>HTH
>>Barbara
> No. I'll try it. Sounds like a bug if it can't resolve "this".

John,

Although it may seem antiquated, something like:

RELEASE WINDOW (ThisForm.Caption)

should work.

George
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform